Install IntelliJ IDEA 2020.2 and Older on Linux

This article shows you how to install the famous Java IDE: IntelliJ IDEA on Linux. You do not need Java to run IntelliJ IDEA since it comes with Java Runtime Environment to run the IDE. However, it is highly recommended to have Oracle JDK for the development purpose.
 
There is a separate article on how to install the latest IntelliJ Idea on Linux
Follow the Install IntelliJ IDEA on Linux article to install the latest IntelliJ Idea.

Install IntelliJ IDEA on Linux

Step 01:
Download the latest version of IntelliJ IDEA from the official website.




Step 2:
Open the Terminal (Ctrl + Alt + T) and enter the following command to change the directory.
cd /opt/

Step 3:
Enter the command given below to extract IntelliJ IDEA from ~/Downloads directory. If the downloaded file is in another directory, replace the last parameter by the actual file path.
sudo tar -xvzf ~/Downloads/ideaIC-2020.2.tar.gz

Step 4 (Optional):
I prefer to rename the IntelliJ folder unless I have multiple versions of the IDE. If you want the same, enter the following command to remove the version from the folder name.
sudo mv idea-IC-202.6397.94 idea

Step 5:
Open IntelliJ IDEA from the terminal using the following command. Note that there is no sudo in front of the command.
/opt/idea/bin/idea.sh

Step 6:
In the appeared dialog to import existing settings, choose "Do not import settings" if you want a fresh installation. If you already have an IntelliJ IDEA, you can import the previous settings by selecting the first option.

Install IntelliJ IDEA on Linux
Step 7:
In the next dialog, you will be asked to select a UI theme. Depending on your preference, select the theme and click Next.
Install IntelliJ IDEA on Linux

Step 8:
Now, you will be provided an option to create the desktop entry. I prefer to create the desktop entry for all users. Therefore, I select the "For all users..." option and click Next.
Install IntelliJ IDEA on Linux

Step 9:
If you want to launch IntelliJ IDEA from Terminal, creating a launcher script makes your life easier. Depending on your requirement, you can enable this feature.
Install IntelliJ IDEA on Linux

Step 10:
In this step you can install the default plugins. You can always install them later in the Settings dialog. So just click the Next button.
Install IntelliJ IDEA on Linux

Step 11:
In addition to the default plugins, IntelliJ recommends some featured plugins to install. As mentioned in the last step, any plugin can be installed from the Settings dialog. Therefore, you can just click the "Start using IntelliJ IDEA" button.
Install IntelliJ IDEA on Linux
Depending on the options you chose in the previous steps, you may be asked to enter the root password to create desktop entry and/or launcher script for all users.

Step 12:
This point onward, IntelliJ IDEA is ready to use. However, you can notice that still, we are running the IDE from the Terminal.

Install IntelliJ IDEA on Linux

Step 11:
Close the IDE and search for 'IntelliJ IDEA' in the start menu and open it.

Install IntelliJ IDEA on Linux

Step 12:
A common problem encountered in IntelliJ IDEA on Linux is its default keyboard shortcuts assigned to the Windows environment. This may cause unexpected behaviors of keyboard shortcuts on Linux environment. To fix this problem, open IntelliJ IDEA, go to SettingsKeymap and select "GNOME" or "KDE" in the Keymap dropdown list.

Install IntelliJ IDEA on Linux
I hope this helped you to install IntelliJ IDEA on your Linux machine. Feel free to comment below your if this helps or if you hit any problems while installing IntelliJ IDEA.
Previous
Next Post »

Contact Form

Name

Email *

Message *