Download the tar package for phpstorm first on the JetBrains official website (https://www.jetbrains.com/phpstorm/download/#section =linux-version). If you prefer the command line, you can use wget to download the tar package. (Note that the version number when writing this article is 2016.1, if there is a new version, modify the version number.) )
wget https://d1opms6zj7jotq.cloudfront.net/webide/PhpStorm-2016.3.tar.gz
When the download is complete, open a terminal window. Switch the working directory to the download directory and unzip the downloaded tar.gz file.
Tar xvf phpstorm-2016.3.tar.gz
A new directory will be generated under the current working directory, phpstorm-xxxx. To keep the system neat and tidy, we moved the directory to the/opt/directory.
sudo mv phpstorm-xxxx//opt/phpstorm/
Now, create a soft link.
sudo ln-s/opt/phpstorm/bin/phpstorm.sh/usr/local/bin/phpstorm
Then, enter the Phpstorm command in the terminal to start the Phpstorm program.
Phpstorm
Activation method is: Open http://idea.lanyus.com/directly in the browser, click on the page "Get the Registration code", and then switch to the Activation Code option at the time of registration, enter the obtained registration code a long string of strings, you can register successfully! (Recommended in this way)
Webstorm installation Similar
Fast installation of Linux under Phpstorm