Download PhpStorm from – https://www.jetbrains.com/phpstorm
Become root.
sudo -s
then enter your password…
Extract PhpStorm-x.y.tar.gz using
tar xfz PhpStorm-x.y.tar.gz
Move the extracted folder to /opt/phpstorm
mv PhpStorm-x.y /opt/phpstorm
Now the time is to crater a launcher of PhpStorm. Let’s do it–
Chang Directory to Home
cd~
Create a desktop file and install it
sudo nano phpstorm.desktop
and copy the following to the phpstorm.desktop file.
[Desktop Entry] Name=PhpStorm Type=Application Exec=phpstorm.sh Terminal=false Icon=webide Comment=Integrated Development Environment NoDisplay=false Categories=Development;IDE; Name[en]=PhpStorm
then execute the following command to automatically install it in the unity:
desktop-file-install phpstorm.desktop
Create a symlink in /usr/local/bin using
ln -s /opt/phpstorm/bin/phpstorm.sh /usr/local/bin
For phpstorm icon to be displayed in dash, phpstorm icon can be added as
cp /opt/phpstorm/bin/webide.png /usr/share/pixmaps/webide.png
Note: phpStorm is not Opensource.