He installation on Linux are traditionally more complicated. I wonder why people complain on the low number of Linux desktop users. The IntelliJ idea download page mentions is only a steps:
- Unpack the "ideaiu-xx.y.z.tar.gz" file using the command "tar Xfz ideaiu-xx.y.z.tar.gz" and
- Run "idea.sh" from the bin subdirectory.
However, this instructions don ' t deliver IntelliJ as delivered and other platforms. People don ' t go to the installation folder and execute the file idea.sh. They either create a desktop icon or add the bin directory to the path, but these steps is missing. So, in my understanding, the installation are not completed. To launch IntelliJ from anywhere in the command prompt:
Become the root User:
Sudo-i
Move the unpacked folder to "/opt/idea":
MV Ideaic-xx.y.z/opt/idea
Edit the file. BASHRC:
Gedit ~/.BASHRC
Add the following line to the end of the file:
Export Path=/opt/idea/bin: $PATH
Log out and log in to the change take effect.
To add the launcher icon on the desktop, there are a soft and a hard-to-do.
The Soft
Fortunately, IntelliJ can help you once your run it for the first time. In the Welcome window, select "Configure":
And then select "Create Desktop Entry".
That ' s it!
The hard
As a good Linux user, prefer doing it the hard, as follows:
Create a Desktop file:
Cd/opt/ideagedit Idea.desktop
Copy the content bellow to the file:
[Desktop Entry] Name=intellij idea type=application exec=idea.sh terminal=false Icon=idea comment= Integrated development Environment Nodisplay=false categories=development;ide; Name[en]=intellij idea
Install the Desktop file:
Desktop-file-install Idea.desktop
Create a symlink:
Cd/usr/local/binln-s/opt/idea/bin/idea.sh/usr/local/bin/idea.sh
Finally, display the idea icon in dash:
Cp/opt/idea/bin/idea.png/usr/share/pixmaps/idea.png
At this point, you'll finally feel IntelliJ as an application, integrated with the desktop and all ready to be execut Ed.
Installing Intellij idea on Ubuntu