How to install PyCharm on Ubuntu 22.04 Linux Desktop

The purpose of this tutorial is to install PyCharm on Ubuntu 22.04 Jammy Jellyfish Linux.

PyCharm is a graphical IDE (integrated development environment) that can be installed on Ubuntu Desktop. Many Python programmers enjoy using PyCharm because it can be used to analyze code, debug programs, and is integrated with Git and other version control systems, as well as web development applications.

Follow along with the steps below if you’d like to try PyCharm on Ubuntu 22.04 for your Python programming needs.

In this tutorial you will learn:

  • How to install PyCharm on Ubuntu from command line
  • How to install PyCharm on Ubuntu using graphical user interface
PyCharm on Ubuntu 22.04 Jammy Jellyfish
PyCharm on Ubuntu 22.04 Jammy Jellyfish
Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Ubuntu 22.04 Jammy Jellyfish
Software PyCharm
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ – requires given linux commands to be executed as a regular non-privileged user

Install PyCharm on Ubuntu 22.04 Jammy Jellyfish step by step instructions



Install PyCharm Ubuntu from command line

  1. Start by opening a command line terminal and executing one of the below snap commands. Select your preferred version to install:
    $ sudo snap install pycharm-community --classic
    OR
    $ sudo snap install pycharm-professional --classic
    OR
    $ sudo snap install pycharm-educational --classic
    

    All done.

  2. You can start PyCharm by searching for it within the Activities menu or by simply using the corresponding command below:
    $ pycharm-community
    OR
    $ pycharm-professional
    OR
    $ pycharm-educational
    

Install PyCharm using graphical user interface

  1. Use top left Activities menu to open the Ubuntu Software application.
    Open Ubuntu software application
    Open Ubuntu software application
  2. Search for pycharm application. Select your preferred PyCharm version to install.
    Search for pycharm in the Ubuntu Software application
    Search for pycharm in the Ubuntu Software application
  3. To install PyCharm Ubuntu, press the Install button.
    Installation of PyCharm on Ubuntu 22.04
    Installation of PyCharm on Ubuntu 22.04
  4. Enter your username and password. Your user needs to have root permissions to install new software.
  5. Start the PyCharm application. Follow the wizard to perform the initial settings.
    Start the PyCharm application
    Start the PyCharm application
  6. At this point you should be ready to start a new project or import your existing project.
    Start a new project or import your existing project in PyCharm
    Start a new project or import your existing project in PyCharm


Troubleshooting

In case you receive the following error message during the PyCharm loading:

ModuleNotFoundError: No module named 'distutils.core'

you may fix this issue by installation of the python3-distutils package using the following command:

$ sudo apt-get install python3-distutils

Closing Thoughts

In this tutorial, we saw how to install PyCharm on Ubuntu 22.04 Jammy Jellyfish Linux. Using the Snap package manager to install the PyCharm IDE means that the program will stay up to date automatically. Hopefully you find this free software to be a suitable environment for your Python coding.