How to install PhpStorm in Ubuntu 14.04 LTS?

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

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

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