Skip to content
Follow
Ubuntu Linux

How to Install PyCharm on Ubuntu 24.04

Richard
Written by
Richard
Dec 27, 2024 Updated Jul 13, 2026 4 min read
How to Install PyCharm on Ubuntu 24.04
How to Install PyCharm on Ubuntu 24.04

Installing PyCharm on Ubuntu 24.04 involves downloading its setup file or using the Snap package manager.

PyCharm is a powerful tool that helps you write Python code more easily. It offers smart suggestions for your code and helps you find and fix errors.

You can choose between two versions: the free Community edition or the feature-packed Professional edition. This guide shows you how to get PyCharm up and running on your Ubuntu 24.04 computer.

⚡ Quick Answer

Install PyCharm on Ubuntu 24.04 by running sudo apt install pycharm-community for the free version, or pycharm-professional for the paid version. Alternatively, use `sudo snap install pycharm-community –classic` for the Snap package.

Prepare Ubuntu

📝Good to Know
Before installing PyCharm, you may have to install some required packages and prepare Ubuntu.

Run the command below to update Ubuntu.

🐧Bash / Shell
sudo apt update
sudo apt upgrade

Install these packages next.

🐧Bash / Shell
sudo apt install dirmngr ca-certificates software-properties-common apt-transport-https curl lsb-release

Add JetBrains PPA repository

Adding the JetBrains PPA repository to your Ubuntu 24.04 system is the first step to easily install PyCharm and get the latest updates. You’ll start by importing the software’s security key using a command. This ensures your system trusts the software source before downloading it.

First, import the repository GPG key by running the command below.

💻Code
curl -s https://s3.eu-central-1.amazonaws.com/jetbrains-ppa/0xA6E8698A.pub.asc | gpg --dearmor | sudo tee /usr/share/keyrings/jetbrains-ppa-archive-keyring.gpg > /dev/null

Then, add the repository by running the command below.

Command Prompt
echo "deb [signed-by=/usr/share/keyrings/jetbrains-ppa-archive-keyring.gpg] http://jetbrains-ppa.s3-website.eu-central-1.amazonaws.com any main" | sudo tee /etc/apt/sources.list.d/jetbrains-ppa.list > /dev/null

Finally, update and install the PyCharm edition for your projects. The community edition is free and has limited features.

Education and Professional editions have more features.

🐧Bash / Shell
sudo apt update

sudo apt install pycharm-community

sudo apt install pycharm-education

sudo apt install pycharm-professional

Once installed, you can start the different PyCharm editions by running the command below.

💻Code
pycharm-community

pycharm-professional

pycharm-education

You can also launch it by going to Activities > Show Applications > PyCharm on the desktop.

Install PyCharm on Ubuntu
Install PyCharm on Ubuntu

If you want to uninstall the PyCharm edition you installed, use the command below.

🐧Bash / Shell
sudo apt remove pycharm-community
sudo apt remove pycharm-professional
sudo apt remove pycharm-education

Install PyCharm via Snap

You can install PyCharm via Snap on Ubuntu 24.04 using a simple command, as Snap packages contain everything needed for installation. If you don’t have Snap installed, you’ll first need to install the Snap package manager using ‘sudo apt install snapd’, which is a quick process.

To do that, install the Snap package manager if it’s not already installed.

🐧Bash / Shell
sudo apt install snapd

Next, install core Snap and enable classic support by running the command below.

🐧Bash / Shell
sudo ln -s /var/lib/snapd/snap /snap
sudo snap install core

Then, run the command below to PyCharm edition for your projects from the Snap package manager.

📝Good to Know
The community edition is free and has limited features. Education and Professional editions have more features.
🐧Bash / Shell
sudo snap install pycharm-community --classic

sudo snap install pycharm-professional --classic

sudo snap install pycharm-educational --classic

Once installed, use the Dock on the left sidebar to search and launch the PyCharm app.

You can also run the app using the command below.

💻Code
snap run pycharm-community

snap run pycharm-professional

snap run pycharm-educational

Remove the app using the command below.

🐧Bash / Shell
sudo snap remove pycharm-community
sudo snap remove pycharm-professional
sudo snap remove pycharm-educational

Install PyCharm via Flatpak

Installing PyCharm on Ubuntu 24.04 with Flatpak offers a secure, isolated way to run the application. Since Flatpak isn’t built into Ubuntu by default, you’ll first need to install it. This involves updating your system’s software lists and then installing the Flatpak package manager.

Flatpak is a third-party application distribution system that is not included in Ubuntu by default.

You must install the Flatpak package manager and then install PyCharm from there.

First, update and install Flatpak.

🐧Bash / Shell
sudo apt update && sudo apt upgrade
sudo apt install flatpak

Next, add the Flatpak repository to Ubuntu.

🐧Bash / Shell
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Finally, install PyCharm. The education edition is not available on Flatpak.

💻Code
flatpak install flathub com.jetbrains.PyCharm-Community

flatpak install flathub com.jetbrains.PyCharm-Professional

Once installed, you can launch it using the command below or open the app in the desktop apps center.

💻Code
flatpak run com.jetbrains.PyCharm-Community

flatpak run com.jetbrains.PyCharm-Professional

Uninstall the app using the command below.

💻Code
flatpak uninstall --delete-data com.jetbrains.PyCharm-Community
flatpak uninstall --delete-data com.jetbrains.PyCharm-Professional

That should do it!

Conclusion

Installing PyCharm on Ubuntu 24.04 can be accomplished in several straightforward ways. Here are the key takeaways:

  • Multiple Installation Methods: You can install PyCharm using APT, Snap, or Flatpak, providing flexibility based on your preferences.
  • Editions Available: The Community edition is free, while the Education and Professional editions offer additional features tailored to varied user needs.
  • Easy Uninstallation: Uninstalling PyCharm is as simple as executing a command, ensuring you can manage your software easily.
  • Enhanced Development Experience: PyCharm enhances productivity with features like intelligent code completion and version control integration.
  • User-Friendly Interface: The IDE provides a familiar environment for developers to streamline their coding processes on Ubuntu.

Choosing the correct method and edition of PyCharm can significantly enhance your Python programming workflow on Ubuntu.

Was this guide helpful?

Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Install GNOME Desktop on Ubuntu 24.04
Ubuntu Linux How to Install GNOME Desktop on Ubuntu 24.04
How to Install KDE Desktop on Ubuntu 24.04
Ubuntu Linux How to Install KDE Desktop on Ubuntu 24.04
How to Uninstall Software in Ubuntu Linux
Ubuntu Linux How to Uninstall Software in Ubuntu Linux
How to Upgrade Ubuntu Linux
Ubuntu Linux How to Upgrade Ubuntu Linux

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *