How to Install PhpStorm on Ubuntu 24.04
This guide explains how to install PhpStorm on Ubuntu 26.04.
PhpStorm is a professional tool built for writing PHP code. It helps you build websites and apps faster. Why use it? It finds errors while you type and helps you manage large projects easily. What happens when done? You will have a powerful workspace ready for coding.
Recommended Method: JetBrains Toolbox App
The best way to install PhpStorm is the JetBrains Toolbox App. This tool manages all your JetBrains software in one place. It keeps your apps updated automatically and handles the installation for you. You can download it directly from the official JetBrains website.
Prepare Ubuntu
Before installing, make sure your computer is ready. Open your terminal and run these commands to update your system:
sudo apt update && sudo apt upgrade -y
Install PhpStorm via Snap
Snap is a simple way to install software on Ubuntu. It keeps the app in its own container. What happens when done? You get a stable version of PhpStorm that updates itself in the background.
Run this command to install it:
sudo snap install phpstorm –classic

You can launch it from your desktop menu or by typing phpstorm in the terminal.
Manual Installation
If you prefer not to use Snap, you can download the tar.gz file from the JetBrains website. Extract the file to a folder and run the phpstorm.sh script inside the bin folder.
Note: Always verify the integrity of the downloaded file by checking its checksum against the value provided on the download page. This ensures the file was not corrupted during the download.
Install PhpStorm via Flatpak
Flatpak is another popular way to install apps on Linux. It uses a sandboxed method to keep your system clean.
First, install Flatpak:
sudo apt install flatpak
Add the Flathub repository:
sudo flatpak remote-add –if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Finally, install PhpStorm:
flatpak install flathub com.jetbrains.PhpStorm
Conclusion
- Multiple Methods: You can choose between the Toolbox App, Snap, or Flatpak based on your needs.
- Powerful Tools: PhpStorm offers smart code completion and debugging to make your work easier.
- Framework Ready: It works great with Laravel, Symfony, and modern web tech.
- Trial Access: You get a 30-day free trial to test all features before buying a license.
[signed-by=/usr/share/keyrings/jetbrains-ppa-archive-keyring.gpg]
Was this guide helpful?
Leave a Reply