How to Install PyCharm IDE on Fedora 36 Linux

PyCharm is a robust Python integrated development environment (IDE) that is popular among Python developers. It has many essential tools, such as code analysis, debugging, and integration. It also has a command line interface, which makes it easy to use. PyCharm connects to databases, creates virtual environments, and manages your version control system (Git). It is an effective development tool with many Python developers’ essential features. However, it is important to note that PyCharm is not free software, and there is a cost associated with using it, depending on the version. Nevertheless, it is still worth considering if you are looking for a powerful Python IDE. Thanks to its wide range of features, PyCharm can help you be more productive in your Python development projects.

The following tutorial will teach you how to install PyCharm on Fedora 36 Linux with options for Community, Professional, or Educational using the third-party repository by phracek/PyCharm or alternative third-party installation managers Flatpak and Snapcraft using the command line terminal.

Update Fedora

First, update your system to ensure all existing packages are updated with the following command to avoid potential conflicts.

sudo dnf upgrade --refresh

Install PyCharm Community – RPM Method

The first option is to install the third-party repository by phracek/PyCharm. This would be the better solution to install first to keep in line with the DNF Manager and most of your packages on your Fedora system.

Given this is a third-party repository, there are always risks, but this repository has been around for quite a while and is as safe as any other reputable third-party repository, even Fedora themselves recommended it.

First, use the following command to enable the required to install PyCharm.

sudo dnf copr phracek/PyCharm -y

You can only install the Community version using the following command with this repository.

sudo dnf install pycharm-community -y

Install PyCharm – Flatpak Method

The second option may suit users who prefer using Flatpak, which comes natively installed on Fedora systems. Ideally, this is an alternative backup but a solid option if you do not want to add the community PyCharm repository.

First, re-install the Flatpak package if you have removed it previously.

sudo dnf install flatpak -y

Next, you need to enable Flatpack for Fedora using the following command in your terminal:

sudo flatpak remote-add --if-not-exists flathub

At this point, reboot your system if you have re-installed Flatpak; if not, proceed with the installation of PyCharm.


Flatpak only features Community and Professional and not the Educational version.

For most, the Community is recommended for first-time use.

Install PyCharm Community

flatpak install flathub com.jetbrains.PyCharm-Community -y

Install PyCharm Professional

flatpak install flathub com.jetbrains.PyCharm-Professional -y

If the above commands do not work and you receive the “error: Unable to load summary from remote flathub: Can’t fetch summary from disabled remote ‘flathub’ use the following command to enable Flathub. This will fix the error.

sudo flatpak remote-modify --enable flathub

Install PyCharm – Snapcraft Method

The third option is to use the Snap package manager. Ubuntu migrating users would be familiar with Snapcraft, given it’s featured heavily on Ubuntu systems, but the downside is that you are using canonical software.

First, install Snap as it is not natively installed like similar distributions since most prefer using none or Flatpak, especially amongst RHEL type distributions.

sudo dnf install snapd -y

By default, the Snap service should be started and enabled on startup. If this hasn’t occurred, use the following command.

sudo systemctl enable snapd --now

Next, some packages come in classic, so you must create a symlink to enable classic snap support.

sudo ln -s /var/lib/snapd/snap /snap

If you are installing Snap for the first time, it is advised to install the core files to avoid conflicting issues:

sudo snap install core

Next, you must reboot your system, or you may face issues with application icons not appearing due to paths not being generated correctly.


Install PyCharm Community

sudo snap install pycharm-community --classic

Install PyCharm Professional

sudo snap install pycharm-professional --classic

Install PyCharm Educational

sudo snap install pycharm-educational --classic

How to Launch PyCharm

Now that you have the PyCharm client installed, the software can be launched using the following path.

Activities > Show Applications > PyCharm {version}.

If you cannot find it, use the search function in the Show Applications menu if you have many applications installed.


How to Install PyCharm IDE on Fedora 36 Linux

The first you launch PyCharm, you will potentially encounter two pop-ups, and the first pop-up is the standard terms of use.

Press the accept button to continue.

Example (Community):

How to Install PyCharm IDE on Fedora 36 Linux

The second pop-up requests if you want to share anonymous data to help improve the application.

Choose “Don’t Send” or “Send Anonymous Statistics” to continue.

Example (Community):

How to Install PyCharm IDE on Fedora 36 Linux

Once you open PyCharm, you will see the first default landing screen.

Example (Community):

Congratulations, you have successfully installed and launched PyCharm.

How to Update/Upgrade PyCharm IDE

The best method to check for updates is using CLI, often, most rely on automatic updates or GUI notifications, which works well, but you should usually use a CLI update to ensure nothing is being missed. As for third-party package managers, using the CLI update command is essential to ensure they are updated compared to DNF packages.

Use one of the following commands that match your installation.

DNF PyCharm IDE Update Method

sudo dnf update --refresh

Flatpak PyCharm IDE Update Method

flatpak update

Snap PyCharm IDE Update Method

sudo snap refresh

All commands will blanket search all your applications for updates.

How to Remove (Uninstall) PyCharm IDE

Use the following commands that match your installation for users who no longer wish to have the IDE on their system.

DNF PyCharm IDE Remove Method

sudo dnf autoremove pycharm-community -y

Next, disable the COPR repository from which you installed the community version.

sudo dnf copr phracek/PyCharm -y

Flatpak PyCharm IDE Remove Method

PyCharm Community:

flatpak uninstall --delete-data com.jetbrains.PyCharm-Community -y

PyCharm Professional:

flatpak uninstall --delete-data com.jetbrains.PyCharm-Professional -y

Next, run the following command for any leftover clean-up.

flatpak remove --unused

Snap PyCharm IDE Remove Method

PyCharm Community:

sudo snap remove --purge pycharm-community

PyCharm Professional:

sudo snap remove --purge pycharm-professional

PyCharm Educational:

sudo snap remove --purge pycharm-educational

Alternatively, if you only installed Snap to install Pycharm and want Snap and Pycharm present, removing the snapd package will automatically remove all snaps installed.

sudo dnf autoremove snapd -y

Comments and Conclusion

If you are looking for a powerful Python IDE, PyCharm is worth considering. It has many essential tools, such as code analysis, debugging, and integration. It also has a command line interface, which makes it easy to use. PyCharm connects to databases, creates virtual environments, and manages your version control system (Git). Although it’s not free software, the cost is worth it if you want to get the most out of your Python development.

For further information, visit the official PyCharm documentation.

Not what you were looking for? Try searching for additional tutorials.

Leave a Comment