In this tutorial, we will show you how to install PhpStorm on Fedora 39. In the realm of PHP development, PhpStorm stands as a beacon of efficiency and productivity. This Integrated Development Environment (IDE) from JetBrains is a favorite among developers for its intelligent code completion, on-the-fly error checking, quick navigation, and automated refactoring.
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 the PhpStorm on a Fedora 39.
Before diving into the installation process, let’s ensure that you have everything you need:
- A server running one of the following operating systems: Fedora 39.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- You will need access to the terminal to execute commands. Fedora 39 provides the Terminal application for this purpose. It can be found in your Applications menu.
- A network connection or internet access to download the PhpStorm repository.
non-root sudo useror access to the
root user. We recommend acting as a
non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.
Install PhpStorm on Fedora 39
Step 1. Before installing PhpStorm, it‘s crucial to ensure your Fedora system is prepared. Start by updating your system packages. Open your terminal and run the following command:
sudo dnf clean all sudo dnf update
Next, check for the Java Runtime Environment (JRE). Although PhpStorm comes with its own bundled JetBrains Runtime, it’s good practice to ensure a JRE is installed on your system. Run the following command to check:
If Java is not installed, you can install it using the following command:
sudo dnf install java-11-openjdk-devel
Step 2. Installing PhpStorm on Fedora 39.
- Install PhpStorm from the official source.
The first step in the installation process is to download PhpStorm. You can do this by visiting the official JetBrains website and downloading the latest version compatible with Linux. The download can be initiated using the
wget command in the terminal or by using a web browser to navigate to the download page.
For example, to download PhpStorm using the
wget command, you would use the following command in the terminal:
This command will download the latest version of PhpStorm for Linux from the JetBrains website.
Next, navigate to the directory where you downloaded the PhpStorm tarball and extract the tarball to a desired location on your system using the
tar -xzf PhpStorm-*.tar.gz -C /path/to/extract/to
Navigate to the extracted PhpStorm directory and run the
phpstorm.sh script to start the installation process:
cd /path/to/extracted/directory/PhpStorm-*/bin ./phpstorm.sh
This will start the PhpStorm installation process.
- Install PhpStorm using Snap package manager.
If you prefer using Snap, the process is slightly different. First, install the snap package manager on your Fedora system with the following command:
sudo dnf install snapd
Once the snap is installed, you can install PhpStorm using the following command:
sudo snap install phpstorm --classic
--classic flag is used to enable classic confinement, allowing PhpStorm full access to your system. If you wish to install the Early Access Program (EAP) builds, replace
Step 3. Accessing PhpStorm on Fedora.
After successful installation, you can access PhpStorm from your application menu. If you’re using a terminal, you can run the
phpstorm.sh shell script in the installation directory under
Congratulations! You have successfully installed PhpStorm. Thanks for using this tutorial for installing the PhpStorm on your Fedora 39 system. For additional or useful information, we recommend you check the official PhpStorm website.