How to install PhpStorm in Ubuntu 14.04 LTS?

Solution 1:

Instructions here: https://web.archive.org/web/20161207101644/http://sysads.co.uk:80/2014/08/08/install-phpstorm-7-on-ubuntu-14-04/

Please note that PhpStorm is not FREE, this is a 30-day trial!

Install dependencies

sudo apt-get purge openjdk*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer oracle-java8-set-default

Install PhpStorm

wget http://download-cf.jetbrains.com/webide/PhpStorm-2017.1.4.tar.gz
tar -xvf PhpStorm-2017.1.4.tar.gz
cd PhpStorm-171.4694.2/bin/
./phpstorm.sh

Solution 2:

JetBrains are publishing their entire IDE portfolio as snaps, including PHPStorm. Snaps work on all supported versions of Ubuntu, including 14.04. Some of the advantages of the JetBrains snaps are that they are always up to date, will automatically stay updated and are very easy to install.

Install PHPStorm on Ubuntu 14.04:

sudo apt install snapd
sudo snap install phpstorm --classic

Solution 3:

Install dependencies

sudo apt-get purge openjdk*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer oracle-java7-set-default

Install PhpStorm

wget http://download-cf.jetbrains.com/webide/PhpStorm-7.1.3.tar.gz
tar -xvf PhpStorm-7.1.3.tar.gz
cd PhpStorm-133.982/bin
./phpstorm.sh

Solution 4:

For new versions:

sudo apt-get purge openjdk*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

wget http://download-cf.jetbrains.com/webide/PhpStorm-2016.2.tar.gz
tar -xvf PhpStorm-2016.2.tar.gz
cd PhpStorm-145.258.2/bin
./phpstorm.sh

note: if the link is broken try a higher version, current version is 2 as of July 2016. So next version will be PhpStorm-2016.3.tar.gz. And of course make sure that you cd into the right version cd PhpStorm-xxxx/bin