Follow
Ubuntu Linux

How to Install PyCharm on Ubuntu 24.04

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

You install PyCharm on Ubuntu 24.04 by downloading its installer script from the JetBrains website or by using the Snap package manager. PyCharm is a feature-rich Integrated Development Environment (IDE) designed to streamline Python development with intelligent code assistance and debugging tools.

This guide will walk you through the straightforward steps to get PyCharm running on your Ubuntu 24.04 system. You can choose between the free Community edition or the more advanced Professional edition.

⚡ 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

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

After preparing the Ubuntu machine, run the command below to add the official JetBrains PPA repository so you can install PyCharm.

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

Another way to install PyCharm is to use the Snap package manager.

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.

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

Yet another way to install PyCharm is to use the Flatpak package manager. Flatpak uses a sandboxing package installation, enhancing security and allowing easy updates.

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

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

Leave a Comment

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