Versions
- CentOS 6.5 x86_64
- Oracle Java JDK 1.7
- IntelliJ IDEA Community 13.1.4
Prerequisties
Install
Note
|
replace $VERSION below with the latest version of IntelliJ IDEA. After extraction, replace $BUILD with the build number located on the directory named idea-IC-$BUILD. |
Download latest version of IntelliJ IDEA, extract and put in /usr/lib (file names vary with version number):
1 2 3 4 |
wget http://download.jetbrains.com/idea/ideaIC-$VERSION.tar.gz tar xvf ideaIC-$VERSION.tar.gz sudo mv idea-IC-$BUILD /usr/lib sudo ln -sf /usr/lib/idea-IC-$BUILD /usr/lib/idea |
Example
1 2 3 4 |
wget http://download.jetbrains.com/idea/ideaIC-13.1.4.tar.gz tar xvf ideaIC-13.1.4.tar.gz sudo mv idea-IC-135.1230 /usr/lib sudo ln -sf /usr/lib/idea-IC-135.1230 /usr/lib/idea |
Configure
- Add to /usr/bin:
1sudo ln -sf /usr/lib/idea/bin/idea.sh /usr/bin/idea
Typically, I need more memory for the JVM that runs IntelliJ IDEA. Edit /usr/lib/idea/bin/idea.vmoptions and change the following lines:
123456...-Xms2048m-Xmx2048m-XX:MaxPermSize=512m-XX:ReservedCodeCacheSize=128m...Repeat the same edits above for /usr/lib/idea/bin/idea64.vmoptions
- Raise the
inotify limit of watchable directories from 7k to a higher value, such as 512k, edit /etc/sysctl.conf
1fs.inotify.max_user_watches = 524288
Apply the change without reboot:
1sudo sysctl -p
Verify
Start it up:
1 |
$ idea |


Thank you so much for this. As a new Linux user this is a super useful look into how to go from *.tar.gz into an installed application which I’ve been looking for.
Good documentation . It worked in first go. Thanks