Site icon TechGit

How to Install Intellij IDEA 2023.2 in Ubuntu 22.04 / 23.10

This simple tutorial shows how to install the latest Intellij IDEA 2023.2 in Ubuntu 22.04, Ubuntu 23.04, and Ubuntu 23.10.

Intellij IDEA is available to install in Ubuntu via different ways. They include Snap, Flatpak, official tarball, and Ubuntu PPA. Choose either one that you prefer.

Method 1: Install Intellij IDEA via Snap package

JetBrains provides official Linux package through both Snap and tarball. Which is super easy to install for Ubuntu users.

The Snap package Features:

For all current Ubuntu releases, just launch Ubuntu Software (or App Center), then search and install ‘Intellij IDE Community, Ultimate, or Educational.

Method 2: Install Intellij IDEA via Flatpak package

Another easy way to install the IDE is using Flatpak package. Which works in most Linux, though run in sandbox.

The Flatpak package Features:

Ubuntu users just need to press Ctrl+Alt+T on keyboard to open terminal. Then run the 2 commands below one by one to install the package.

And, if you’re first time installing app as Flatpak, log out and back in for the app icon visible in system app launcher.

Method 3: Install IntelliJ IDEA via Official Tarball

If you don’t like or have issue for the IDE running in sandbox, then use the official Linux tarball instead!

The Linux Tarball Features:

1. First, go to the official download page via the link below:

Download IntelliJ IDEA (tar.gz)

Depends on you needs, either download the Ultimate, or scroll down and select the Community edition. For ARM64, click the down arrow (▿) icon to select from drop-down menu.

2. After downloaded the tarball, just extract and move the source folder to any location that you want for long time use.

In my case, I created a “Apps” folder in user home, and put IDEA source folder into it as sub-directory.

3. Without installation, you can now go to the ‘bin‘ sub-folder, right-click on “idea.sh” and select “Run as Program” to launch the IDE.

4. Create app shortcut, so to launch from start/application menu.

If done correctly, you can now search for and launch the IDE from app launcher or the overview screen depends on your DE:

Method 4: Install IntelliJ IDEA via Ubuntu PPA

Another choice to avoid Snap and Flatpak, is using an Ubuntu PPA. However, there are only third-party maintained PPAs.

The PPA features:

As far as I know, the xtradeb PPA is keeping updated with the most recent packages including the IDEA Community.

To install the IDE from the PPA, press Ctrl+Alt+T on keyboard to open terminal. And, run commands below one by one:

NOTE: Linux Mint user needs to run sudo apt update after adding PPA to manually refresh system package cache.

Uninstall IntelliJ IDEA

For the Snap package, just remove it from Ubuntu Software or App Center.

For the Flatpak package, open terminal (Ctrl+Alt+T) and run command to remove it:

flatpak uninstall --delete-data com.jetbrains.IntelliJ-IDEA-Community

And, run flatpak uninstall --unused to remove useless run-time libraries.

For IDEA installed via the official Tarball, just remove the source folder as well as .desktop file under .local/share/applications directory.

For the Ubuntu PPA package, open terminal and run command to remove it:

sudo apt remove --autoremove intellij-idea-community

Also remove the Ubuntu PPA by running command:

sudo add-apt-repository --remove ppa:xtradeb/apps

Original Article

FacebookTwitterTumblrRedditLinkedInHacker NewsDiggBufferGoogle ClassroomThreadsXINGShare
Exit mobile version