Skip to content

Instantly share code, notes, and snippets.

@masudcsesust04
Created March 20, 2017 07:13
Show Gist options
  • Save masudcsesust04/629a15321958fc33aefc22af9399c830 to your computer and use it in GitHub Desktop.
Save masudcsesust04/629a15321958fc33aefc22af9399c830 to your computer and use it in GitHub Desktop.
Install intellij ide and create application launcher.

First create a directory in /opt directory

sudo mkdir -p /opt/intellij

Copy downloaed unzipped files to that direcotry

sudo cp -R idea-IU-163.12024.16/* /opt/intellij/

Change file structure ownership to root recursively.

sudo chown -R root:root /opt/intellij 

Sudo the first time run so the appropriate permissions are available to create the desktop configuration file etc.

sudo /opt/intellij/bin/idea.sh 

Note:

  • If applicable Import Settings | Enter License Key
  • Accept terms and conditions

Launcher File -If Rubymine was launched prior to renaming the directory, then you may need to tweak the desktop config file.

sudo nano /usr/share/applications/jetbrains-intellij.desktop

Example:

[Desktop Entry]
Version=16.0
Type=Application
Name=Intellij
Icon=/opt/intellij/bin/idea.png
Exec=/opt/intellij/bin/idea.sh %F
Comment=Develop with pleasure!
Categories=Development;IDE;
Terminal=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment