In this tutorial, we will show you how to install PyCharm on Fedora systems
PyCharm is an integrated development environment (IDE) used in computer programming, specifically for the Python programming language. It is developed by the Czech company JetBrains (formerly known as IntelliJ). It provides code analysis, a graphical debugger, an integrated unit tester, integration with version control systems (VCSes), and supports web development with Django as well as data science with Anaconda.
PyCharm is cross-platform, with Windows, macOS and Linux versions. The Community Edition is released under the Apache License, and there is also an educational version, as well as a Professional Edition with extra features (released under a subscription-funded proprietary license)
Installation of PyCharm on Fedora
Just follow the steps below to get start
- Update your system packages as follows:
usdo dnf update -y && sudo dnf upgrade -y
- By default, PyCharm is not available on the base repo of Fedora systems, so add a third-party repository by phracek/PyCharm by running the command below:
sudo nano /etc/yum.repos.d/PyCharm-fedora-36.repo
Then add the following:
[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
sudo dnf install pycharm-community
Also you can install it with snapd manager:
Snap is a software packaging and deployment system developed by Canonical for operating systems that use the Linux kernel. The packages, called snaps, and the tool for using them, snapd, work across a range of Linux distributions and allow upstream software developers to distribute their applications directly to users. Snaps are self-contained applications running in a sandbox with mediated access to the host system.
So, Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
- Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions, So install snap then install PyCharm via snap manager as shown below
sudo dnf update sudo dnf install snapd sudo systemctl enable snapd --now sudo ln -s /var/lib/snapd/snap /snap sudo snap install pycharm-community --classic
- Once installed, access Pycharm through the command line by running the command
- Also you can search on the system search bar by typing PyCharm as follows
- PyCharm will be launched as shown below, read and accept the terms then click continue.
- Congrats, you have successfully installed PyCharm.