PhpStorm is widely used in the PHP development community and is available for various platforms, including Windows, macOS, and Linux. This article will introduce you to 2 Ways to Install PhpStorm on Ubuntu 20.04. If you intend to buy an Ubuntu VPS server, you can check out the packages offered on the Eldernode website.
Table of Contents
How to Setup PhpStorm on Ubuntu Server
What is PhpStorm?
PhpStorm is an integrated development environment (IDE) specifically designed for PHP web development. It provides a comprehensive set of features and tools to enhance productivity and streamline the PHP development workflow. Some key features of PhpStorm are code editing and analysis, debugging and testing, version control integration, database connectivity, web development support, code quality and analysis, and integration and extensibility.
Installing PhpStorm on Ubuntu 20.04
You can install PhpStorm on Ubuntu 20.04 using one of the following ways which are via Snap package and via the source tarball. So, just choose one of the ways and follow the instructions to install PhpStorm on your Ubuntu 20.04 server.
A. Install PhpStorm via the Snap Package
Snap is already installed and ready to use on Ubuntu 20.04 and you don’t need to do anything. To install PhpStorm via the Snap package, just open the terminal and run the command below:
sudo snap install phpstorm --classic
Wait for the installation to finish.
B. Install PhpStorm via the Source Tarball
Firstly, you should download PhpStorm from its official website. To do this, visit the PhpStorm JetBrains official website and press Download:
Now choose Linux and click on Download again to start the download:
Then you will be prompted to save the file. To do this, select Save File and click OK:
Also, you can download PhpStorm using the following wget command:
wget https://download-cf.jetbrains.com/webide/PhpStorm-.tar.gz
Once the download is completed, the PhpStorm tarball will be saved in the Downloads directory.
Now open the terminal and run the following command to navigate the Downloads directory:
cd Downloads
And extract the PhpStorm tarball as shown below:
tar xvf PhpStorm-.tar.gz --directory /opt/
Lastly, you can launch the PhpStorm by entering the following command:
/opt/Phpstorm-*/bin/phpstorm.sh
You will see PhpStorm open as shown below:
That’s it!
Conclusion
PhpStorm is a powerful IDE for PHP developers available for various platforms. In this article, we taught you how to install PhpStorm on Ubuntu 20.04. I hope this tutorial is useful and helps you install PhpStorm on your Ubuntu server. If you have any questions or problems in the installation process, you can contact us in the Comments section.