Installing IntelliJ WebIDE on GNU/Linux

IntelliJ is working on probably the best PHP IDE out there. Since I am running Debian unstable at home, here's how to install it. I think more or less the same routine would work for any other distribution, but others might elaborate on that.

I tend to install completely packaged software in /opt, so I know I can remove any directory there in its entirety to remove the application.

Of course, your version number may differ.

I prefer not to add separate bin folders to my PATH, as suggested in the WebIDE installation instructions, but rather put a custom script in /usr/local/bin. I did this for WebIDE as well. It sets the JDK_HOME directory to /usr (which the first error I got was about, when trying to run directly), since my java is installed in /usr/bin/java, and it finds out what the latest installed webide version is (provided it is available in /opt/webide). Get the source code for this script at my github, put it in /usr/local/bin and chmod it +x.

Now you're good to go :) Happy coding.

PS: If you're running Gnome, use Alacarte (menu editting tool) to add WebIDE to your application menu.

Read the entire posts & comments at

< Return to main page

You're looking at a very minimalistic archived version of this website. I wish to preserve to content, but I no longer wish to maintain Wordpress, nor handle the abuse that comes with that.