In this tutorial, we will show you how to install PyCharm on Rocky Linux 9. For those of you who didn’t know, Pycharm is a cross-platform, Integrated Development Environment (IDE) for Python programming language that is compatible with macOS, Windows, and Linux systems. It provides some very useful features like Code completion and inspection, Debugging process, support for various programming frameworks such as Flask and Django, Package Management, etc.
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 PyCharm on Rocky Linux. 9.
- A server running one of the following operating systems: Rocky Linux 9.
- 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).
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 PyCharm on Rocky Linux 9
Step 1. The first step is to update your system to the latest version of the package list. To do so, run the following commands:
sudo dnf check-update sudo dnf install dnf-utils epel-release
Step 2. Installing PyCharm on Rocky Linux 9.
By default, PyCharm is not available on Rocky Linux 9 base repository. So you will need to install Snapcraft on the system. If the Snapd package manager is not already installed then you can install it by running the following command below:
sudo dnf install snapd
sudo snap install core
To install PyCharm, simply use the following command:
# Professional Edition # sudo snap install pycharm-professional --classic # Community Edition # sudo snap install pycharm-community --classic # Educational Edition # sudo snap install pycharm-educational --classic
Step 3. Accessing PyCharm on Rocky Linux 9.
Once the installation is completed, open the PyCharm on your system by using the application search bar. Click on ‘Activities’ and then type ‘PyCharm’ in the application search box or by executing the following command on your terminal:
Congratulations! You have successfully installed PyCharm. Thanks for using this tutorial for installing PyCharm on your Rocky Linux 9 system. For additional help or useful information, we recommend you check the official JetBrains website.