Search This Blog

Thursday, September 8

Install IntelliJ IDEA on Ubuntu

This article shows you the way to install the latest version of IntelliJ IDEA in Ubuntu.

Step 1:

Download the latest version of IntelliJ IDEA from this link.

Step 2:

Open the Terminal (Ctrl + Alt + T) and enter the following command to change the directory [Where it can download].

Step 3:

Enter the command given below to extract the IntelliJ IDEA from ~/Downloads directory. If your downloaded file is in any other directory, replace the last parameter by the actual file path.

sudo tar -xvzf ~/Downloads/ideaIU-14.1.2.tar.gz

Step 4:

Open another Terminal (Ctrl + Alt + T) and enter the following command to create a shortcut file for intellij-idea.
gedit intellij-idea.desktop

Step 5:

In the opened gedit, copy and paste the following text. If your IntelliJ IDEA version is different, according to your version change the Exec location the Icon path.

[Desktop Entry]
Name=IntelliJ IDEA
Type=Application
Exec=/opt/idea-IU-141.713.2/bin/idea.sh
Terminal=false
Icon=/opt/idea-IU-141.713.2/bin/idea.png
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=IntelliJ IDEA
Name[en_US]=IntelliJ IDEA

change the Exce and Icon paths set the correct path

Step 6:

Save and close the gedit.

Step 7:

Enter the following command in the terminal to install the shortcut.

sudo desktop-file-install intellij-idea.desktop

Now search for 'IntelliJ IDEA' in the dashboard and open it.

No comments:

Post a Comment