In this tutorial, we will show you how to install PyCharm on Fedora 35. For those of you who didn’t know, PyCharm is a cross-platform editor developed by JetBrains. Pycharm provides all the tools you need for productive Python development. Many Python programmers enjoy using PyCharm because it can be used to analyze code, debug programs, and is integrated with Git and other version control systems. Pycharm comes with two variants, Professional (Paid) and Community (Free). The professional edition comes with additional web development support.
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 PyCharm IDE on a Fedora 35.
Prerequisites
- A server running one of the following operating systems: Fedora 35.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- 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 PyCharm on Fedora 35
Step 1. Before proceeding, update your Fedora operating system to make sure all existing packages are up to date. Use this command to update the server packages:
sudo dnf upgrade sudo dnf update sudo dnf install dnf-plugins-core
Step 2. Installing PyCharm on Fedora 35.
- Install PyCharm using Snap Store.
Run the following command below to install Snap packages to your Fedora system:
sudo dnf install snapd sudo systemctl enable snapd --now sudo ln -s /var/lib/snapd/snap /snap
To install PyCharm using-community, simply use the following command below:
sudo snap install pycharm-community --classic
- Install PyCharm using RPM.
First, we add a third-party repository by phracek/PyCharm using the following command:
sudo nano /etc/yum.repos.d/phracek-PyCharm-fedora-35.repo
Add the following file:
[copr:copr.fedorainfracloud.org:phracek:PyCharm] name=Copr repo for PyCharm owned by phracek baseurl=https://download.copr.fedorainfracloud.org/results/phracek/PyCharm/fedora-$releasever-$basearch/ type=rpm-md skip_if_unavailable=True gpgcheck=1 gpgkey=https://download.copr.fedorainfracloud.org/results/phracek/PyCharm/pubkey.gpg repo_gpgcheck=0 enabled=1 enabled_metadata=1
Save and close the file, then install PyCharm using the following command below:
sudo dnf install pycharm-community
Step 3. Accessing PyCharm on Fedora.
Once successfully installed, now we search PyCharm using the Application manager. Then click on the PyCharm icon to open the PyCharm application or launch PyCharm on Terminal using the following command below:
pycharm-community
Congratulations! You have successfully installed PyCharm. Thanks for using this tutorial for installing the PyCharm IDE on your Fedora 35 system. For additional help or useful information, we recommend you check the official PyCharm website.