How to Install PyCharm IDE on Ubuntu 22.04 LTS

PyCharm is a dedicated Python graphical IDE (Integrated Development Environment) popular amongst Python developers with its wide range of essential tools such as analyzing code, debugging, and integration. The IDE also comes with the command line, connects to a database, creates a virtual environment, and manages your version control system (Git).

IIn the following tutorial, you will learn how to install PyCharm Community, Professional or Educational, with Flatpak or Snapcraft (Snap) on Ubuntu 22.04 LTS Jammy Jellyfish using the command line terminal.

Update Ubuntu

First, run a quick update to ensure your system is up-to-date to avoid any conflicts during the installation.

sudo apt update && sudo apt upgrade -y

Install PyCharm with Snapcraft

The first option is to use the Snap package manager to install all three versions of PyCharm IDE, which are arguably the most up-to-date package managers that cover all three versions of PyCharm.

First, use re-install for users that have removed Snap with the following command.


sudo apt install snapd -y

When you have returned to your system, start the snapd service and enable automatic startup.

sudo systemctl enable snapd --now

Before you continue any further, it is recommended to reboot your PC to make sure all paths for Snap have been generated. Failure to do this may result in errors using Snap. If you encounter these, make sure to go back and follow this step.

sudo reboot

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

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

Lastly, users that have re-installed or already have Snap present run the following command to ensure the core files are current.

sudo snap install core

Install the version which suits you best. For most users, the Community version is the optimal version that is free.

See also  How to Enable/Disable Firewall on Ubuntu 22.10/22.04/20.04

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

Install PyCharm – Flatpak Method

The second option is to use the Flatpak package manager. By default, this is not installed due to being the main competitor of snaps; however, if you have used other Linux distributions, you would be well aware of it since it’s adopted and more mature than Snaps and generally is much more recommended.


First, install Flatpak using the following command.

sudo apt install flatpak -y

Reboot your system; failure to do this will cause issues with applications icons failing to generate. This only needs to be done once.


Next, you need to enable Flatpack using the following command in your terminal.

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

Flatpak only features Community and Professional and not the Educational. 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

How to Launch PyCharm

Now that you have the PyCharm client installed, launching can be done in a few ways.

While you are in your terminal, use the following commands to launch your version of PyCharm.


Snapcraft Terminal Launch Methods

PyCharm Community

snap run pycharm-community

PyCharm Professional

snap run pycharm-professional

PyCharm Educational

snap pycharm-educational

Flatpak Terminal Launch Methods

PyCharm Community

flatpak run com.jetbrains.PyCharm-Community

PyCharm Professional

flatpak run com.jetbrains.PyCharm-Professional

However, this isn’t practical, and you would use the following path on your desktop.


Taskbar > Programming > PyCharm {version}

Alternatively, 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 Ubuntu 22.04 LTS

Note, that PyCharm Educational is only available to install from Snapcraft.

The first time you launch PyCharm, you will potentially come across two pop-ups.

See also  How to Install VirtualBox Ubuntu Linux 22.04/20.04

The first pop-up is the standard terms of use.


Press the accept button to continue.


How to Install PyCharm IDE on Ubuntu 22.04 LTS

The second pop-up is requesting if you would like to share anonymous data to help improve the application.

Choose either to send or not to send to continue.


How to Install PyCharm IDE on Ubuntu 22.04 LTS

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


Example (Community):

How to Install PyCharm IDE on Ubuntu 22.04 LTS

Congratulations, you have successfully installed and launched PyCharm.

How to Update/Upgrade PyCharm

PyCharm can be updated easily through the terminal using the update command method that suites the third-party package manager you used to install the IDE. These commands will also check for updates on any other applications installed by them.

In your terminal, run the following command.

Flatpak Method

flatpak update

Snap Method

sudo snap refresh

How to Remove (Uninstall) PyCharm

Use one of the following commands to suit the original installation method for users who no longer require the application.

Flatpak Remove Method

Remove PyCharm Community


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

Remove PyCharm Professional

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

Next, run the following command for any leftover clean-ups required, similar to the autoremove command described for the apt remove example command.

flatpak remove --unused

Snapcraft 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

Comments and Conclusion

In the tutorial, you have learned how to install PyCharm on your Ubuntu 22.04 LTS Jammy Jellyfish desktop using two different methods, which you can change in the future if you prefer using one package manager over another.


Overall, it is worth installing PyCharm if you heavily develop Python programming language. If you are learning Python, you do not need to be an expert, and it will help you understand just as well, if not better than any of the more prominent names in the IDE field.

See also  How to Install Plex Media Server on Ubuntu 22.10/22.04/20.04

For further information, visit the official PyCharm documentation.

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

Leave a Comment