How to install Intellij IDEA on Linux

This guide should work on any Linux distribution, And i will assume you have java installed on your machine

1- Obtain your copy from Intellij IDEA and move it to your home directory

2- Extract the tar file and move it to /opt change the with the right file name


sudo -i #we'll need root shell  during installation

tar -xvzf ideaIC-11.1.3.tar.gz /opt

3- Add read permissions to all files

chmod -R +r /opt/idea-IC-117.798

4- Create an executable file


touch /usr/bin/IDEA

chmod 755 /usr/bin/IDEA

#Use vim or your favorite text editor

vim /usr/bin/IDEA

## Paste the following lines

#!/bin/sh
export IDEA_HOME="/opt/idea-IC-117.798/bin"

$IDEA_HOME/idea.sh $*

5- Create Gnome/KDE menu icon


## Create this file with your favorite text editor or continue with

/usr/share/applications/IDEA.desktop

#Paste the following lines to the file

[Desktop Entry]
Encoding=UTF-8
Name=intellj IDEA
Comment=Intellij IDEA IDE
Exec=IDEA
Icon=/opt/idea-IC-117.798/bin/idea.png
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true

6- Enjoy your IDE and happy coding 🙂

 

Note: In future releases the steps remains the same, just change the folder name  “idea-IC-117.798”

Advertisements

9 thoughts on “How to install Intellij IDEA on Linux

Discuss

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s