How to Install IntelliJ IDEA Ubuntu 22.04

Updated: October 16, 2021

IntelliJ IDEA is an intelligent, context-aware IDE for working with Java and other JVM languages like Kotlin, Scala, and Groovy on all sorts of applications. It is developed by JetBrains and is available as an Apache 2 Licensed community edition, and in a proprietary commercial edition. Both can be used for commercial development.

IntelliJ IDEA Features

  • Itn is a cross-platform IDE that provides consistent experience on Windows, macOS, and Linux.
  • It supported many languages: Java, Kotlin, Scala, Groovy, …
  • It has many plugins that can help you improve productivity.
  • It provided intelligent code completion
  • You can run, debug, test your code on this IDE
  • And many others Features

In this post, I will help you to install IntelliJ IDEA Ubuntu 22.04. It has many ways, but this post will introduce some easiest guide.

How to Install IntelliJ IDEA on Ubuntu 22.04

Install IntelliJ IDEA Ubuntu from Software Center

If you are using Ubuntu 22.04, I think Software Center Ubuntu should be your first choice. Because it contains many packages, and you can install them very easily.

Step 1: Open Ubuntu Software Center

You need to open Software Center from your Ubuntu to install JetBrains’s product

Open Ubuntu Software To Install IntelliJ IDEA Ubuntu

Step 2: Search for Intellij IDEA Ubuntu

You just have to search IntelliJ IDEA in the search bar and it will show the possible results.

Choose IntelliJ Version to Install on Ubuntu

Step 3: Choose the version you want to install

Choose the version you want to install IntelliJ IDEA on Ubuntu and click the Install button.

Click Install Ubuntu to Install IntelliJ IDEA

Install IntelliJ IDEA Ubuntu 22.04 using Snap packages

Snaps are containerised software packages that are simple to create and install. They auto-update and are safe to run. And because they bundle their dependencies, they work on all major Linux systems without modification.

Step 1: Make sure you installed Snap

If you don’t know how to install it on Ubuntu, follow this guide to get it.

Step 2: Choose the IntelliJ IDEA version

Choose a version you want to install on your Linux OS.

Version Command line
Free Version sudo snap install intellij-idea-community –classic
Ultimate Version sudo snap install intellij-idea-ultimate –classic
Educational Version sudo snap install intellij-idea-educational –classic

Install IntelliJ IDEA Ubuntu using the Toolbox App

The JetBrains Toolbox App is the recommended tool to install JetBrains products. You can use it to manage and install different products, including Early Access Program (EAP) and Nightly releases, update and roll back when you need, and easily remove any tool. The Toolbox App maintains a list of all your projects to quickly open any project in the right IDE and version.

To install on Ubuntu 22.04 using the Toolbox App, please follow:

Step 1: Download the installer

We’ll need to download the .tar.gz file from the Toolbox App website

Download JetBrains Toolbox to install IntelliJ IDEA

Step 2: Extract the installer

Extract the downloaded file to /opt to execute JetBrains Toolbox App

sudo tar -xzf jetbrains-toolbox-*****.tar.gz -C /opt

Step 3: Run JetBrains Toolbox

Once extracted, you can now run the application by typing this command

./jetbrains-toolbox

Use JetBrains Toolbox to install IntelliJ IDEA on Linux

After running the Toolbox App, it will automatically add the Toolbox App icon to the main menu. Next, choose any version to install on your Ubuntu.

Install IntelliJ IDEA on Ubuntu 22.04 using PPA

Personal Package Archives (PPAs) are software repositories designed for Ubuntu users and are easier to install than other third-party repositories. PPAs are often used to distribute pre-release software so that it can be tested.

Step 1: Open the Ubuntu terminal

We’ll use terminal to install this application, so you firstly open it with the shortcut Ctrl-Alt-T

Step 2: Add PPA to Ubuntu

Add the official mmk2410’s PPA to your Linux distribution:

sudo add-apt-repository ppa:mmk2410/intellij-idea-community
sudo apt update

Step 3: Install IDE on Ubuntu

You can get this IDE worked on our computer.

sudo apt install intellij-idea-community

Note: only the Community version is available via this PPA, so if you want to install other versions, please consider other ways in this post to install.

To uninstall IntelliJ IDEA installed from the above PPA, use these Linux’s commands:

sudo apt remove intellij-idea-community 
sudo add-apt-repository --remove ppa:mmk2410/intellij-idea-community

Install IntelliJ IDEA from Source using Ubuntu

Although, install from the source is a little difficult, but you can download the latest version of one, which means there will have more features. To install this IDE, you should follow:

Step 1: Download the source code

Go to JetBrains Center, choose Linux, and download the version you want to install listed on that website.

Choose Linux Version to Install IntelliJ IDEA

Step 2: Extract the source code

Extract the downloaded files to /opt directory by running this command:

sudo tar -xzf ideaIU.tar.gz -C /opt

Step 3: Execute IntelliJ IDEA Ubuntu

Now, you can execute the IDE from the extracted directory to run this IDE.

sudo bash idea.sh

Conclusion

I hope this post I show you how to install IntelliJ IDEA Ubuntu 22.04 and other Linux distributions. If you need to ask any questions, feel free to contact me by commenting below this post :)