In this tutorial, we will show you how to install PhpStorm on Ubuntu 20.04 LTS. For those of you who didn’t know, PhpStorm is a powerful and feature-rich Integrated Development Environment (IDE) designed specifically for PHP development. It offers a wide range of tools and features that streamline the development process, making it easier for developers to write, test, and deploy high-quality PHP applications. With its intelligent code completion, on-the-fly error detection, and extensive plugin ecosystem, PhpStorm has become a popular choice among PHP developers worldwide.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of PhpStorm on a Ubuntu 20.04 (Focal Fossa) server.
Prerequisites
- A server running one of the following operating systems: Ubuntu 20.04, 18.04, and any other Debian-based distribution like Linux Mint.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install PhpStorm on Ubuntu 20.04 LTS Focal Fossa
Step 1. First, make sure that all your system packages are up-to-date by running the following apt
commands in the terminal.
sudo apt update sudo apt upgrade sudo apt install ubuntu-make
Step 2. Installing PhpStorm on Ubuntu 20.04.
Install PHPStorm using the following command:
umake ide phpstorm
By default, PHPStorm IDE should be installed in the path $HOME/.local/umake/ide/phpstorm
.Next, add execute permission to the PHPStorm desktop file as follows:
chmod +x ~/.local/share/applications/jetbrains-phpstorm.desktop
Finally, reboot your computer for the changes to take effect:
sudo reboot
Step 4. Start PhpStorm on Ubuntu 22.04.
Once your computer boots, you can access PHPStorm from the Application Menu of Ubuntu 20.04 LTS or you can launch PhpStorm using the following command:
phpstorm
Remember to keep your PhpStorm installation up-to-date by regularly checking for updates. If you encounter any issues during the installation or usage of PhpStorm, refer to the official JetBrains documentation or seek help from the community forums.
Congratulations! You have successfully installed PhpStorm. Thanks for using this tutorial for installing PhpStorm on Ubuntu 20.04. For additional help or useful information, we recommend you check the official PhpStorm website.