I want to install the PyCharm IDE by JetBrains for Python (free community edition).

I managed to download the PyCharm community version, but I do not know how to install it. Can you please help me?

4 Answers 4


Note: This answer got updated in January 2019 according to JetBrains' recommendations at that time and because GetDeb seems broken. To see my previous version of the answer, check the revisions.

You can visit the PyCharm Download page for Linux.

They offer three different ways to install PyCharm (Professional or Community Edition) there, in order of my personal preference. Decide on one of them:

JetBrains Toolbox App:

Don't download PyCharm directly, but instead get and install the free Toolbox App to manage all of your JetBrains IDEs easily. The Toolbox lets you conveniently manage and install all JetBrains IDEs and update them with a single click, all in one place. It can also centrally manage your account login, if you have a paid license.

I would strongly recommend it, especially if you might want to use any other JetBrains IDEs like e.g. IntelliJ or WebStorm too. This method also doesn't need administrator rights, everything will be installed in your home directory (~/.local/share/JetBrains by default).

To go this way, download the Toolbox installer first. It comes as .tar.gz archive again, but only contains a single AppImage executable. Extract and run that to install the Toolbox. You can delete the downloaded archive and AppImage after that again. Then, launch the Toolbox App:

Toolbox screenshot

It will list your installed IDEs, and show all other available products below that. Just click the Install button next to the PyCharm edition you want (free Community or paid Professional) and it will do everything for you in background.

You should also probably check the Toolbox settings and adapt them to your preference. To do that, click the screw nut symbol in the top right corner. Most importantly in my opinion, decide if you want it to keep the previous version after an update as fallback. Note that each IDE will take roughly around 1GB disk storage, and if you have many IDEs installed and also keep fallback versions, this can add up to a lot of space if your Ubuntu partition isn't that big. You can also switch automatic Toolbox (not IDE) updates, Toolbox autostart and sending anonymous statistics on or off.

Install as snap package:

JetBrains offers all PyCharm editions as snap packages for Ubuntu. This should be supported since 16.04. Some flavours of Ubuntu (like Lubuntu) might not come with snap support preinstalled though. Check this installation guide in that case.

I have not personally tried this approach, but it looks like a good thing to me.

Installing a PyCharm snap should be as simple as running one of the below commands, depending on which edition you want:

  • sudo snap install pycharm-community --classic
  • sudo snap install pycharm-professional --classic
  • sudo snap install pycharm-educational --classic

Next, run either pycharm-community, pycharm-professional, or pycharm-educational in the terminal, depending on which you installed.

Download as .tar.gz archive:

You can select and download an archive containing either the Professional or Community Edition from the page linked above.

This method should probably work on any system, but I would personally not really recommended it as you have to manually extract it somewhere and updates are also not that easy.

If you decide to go for this anyway, follow the instructions here after you downloaded the .tar.gz archive file for your preferred edition. For your convenience, here's an adapted version of the official instructions:

  1. Unpack the pycharm-*.tar.gz file to the folder where you want to install PyCharm:

    tar xfz pycharm-*.tar.gz -C <new_archive_folder>

    The recommended installation location according to the filesystem hierarchy standard (FHS) is /opt. To install PyCharm into this directory, enter the following command:

    sudo tar xfz pycharm-*.tar.gz -C /opt/

    (Personal note: I would advise against putting PyCharm in a location that requires sudo permissions to write. Pick a location somewhere in your home directory instead to avoid permission problems in the future, e.g. during updates.)

  2. Switch to the bin subdirectory:

    cd <new_archive_folder>/pycharm-*/bin

    For example,

    cd /opt/pycharm-*/bin
  3. Run pycharm.sh from the bin subdirectory.

  • Changing "wily" to "xenial" works for ubuntu 16.04 with Pycharm 2016.2 Aug 29, 2016 at 21:27
  • @AlexandreNeto Yeah, I edited my answer so that the correct release name will be inserted automatically.
    – Byte Commander
    Aug 29, 2016 at 21:37
  • What's the recommended directory to install it?
    – Josh Noe
    Sep 25, 2017 at 22:30
  • +1 Good advice. I don't know if this has changed recently, but the package I found was "pycharm-community" Dec 23, 2017 at 8:59
  • @JamesBradbury Where did you find that?
    – Byte Commander
    Dec 23, 2017 at 12:17

There are a lot of resources around the web explaining that you should install it from a tar.gz or an unofficial PPA. While using a PPA is a nice solution, I wanted to point out that Pycharm is supported by ubuntu-make. Ubuntu-make is supported by Canonical and is a way to install any IDE you may need.

Steps are as follows:

sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo apt-get update
sudo apt-get install ubuntu-make
umake ide pycharm

You can now launch pycharm from the unity launcher

  • If you are using a new version of Ubuntu, (16.04+ I think), the first line is not required as it is in the repositories by default.
    – Mayou36
    Jul 5, 2017 at 8:42
  • @Mayou36 : the problem is that umake under Ubuntu 16.04 has version 16.02, but to make pycharm works you need umake version 16.03 or above. So the first line is still needed.
    – Tu Bui
    Jan 4, 2019 at 11:44

PyCharm is also available as a snap package.

sudo snap install pycharm-community --classic

This is the Ubuntu latest iteration at an app model and any package available as a snap should be preferred. Snaps can be installed on almost all versions of Linux (as long as you've installed the snap core).

A benefit of snaps is that they update in the background, so you will always have the latest version.

NOTE: --classic confinement may perform arbitrary system changes outside of the security sandbox that snaps are usually confined to, which may put your system at risk.

WARNING: The publisher for this snap is joeborg, so you are trusting him.

  • 1
    To list installed snaps and see which version of pycharm-community was installed, run snap list.
    – Asclepius
    Oct 15, 2017 at 2:21
  • 2
    To start the installed application, run pycharm-community in command line.
    – XoXo
    Oct 17, 2017 at 17:09

Let Ubuntu Make (umake) do the work for you:

Ubuntu Make is a command line tool which allows you to download the latest version of popular developer tools on your installation, installing it alongside all of the required dependencies [...] Basically, one command to get your system ready to develop with!

1) Open the terminal (keyboard shortcut Ctrl+Alt+T)

2) Add ubuntu-make PPA to your system. This step is vital to avoid known problems (1 and 2):

sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make

3) Update the package lists from the repositories and install the latest stable version of umake:

sudo apt-get update
sudo apt-get install ubuntu-make

4) Install PyCharm using umake:

If you want to install PyCharm Community Edition:

umake ide pycharm

If you want to install PyCharm Professional Edition (license required):

umake ide pycharm-professional

You are ready to go!

In case you change your mind, you can remove PyCharm with:

umake -r ide pycharm

Source: https://itsfoss.com/install-pycharm-ubuntu/

I just realized this answer is an almost duplicate of this other answer. I am keeping it for the sake of completeness.

  • How to handle following message: umake ide pycharm-professional usage: umake ide [-h] {lighttable,visual-studio-code} ... umake ide: error: argument framework: invalid choice: 'pycharm-professional' (choose from 'lighttable', 'visual-studio-code')
    – cwhisperer
    Jan 9, 2018 at 11:33
  • @cwhisperer Did you add ubuntu-make PPA to your system as explained in step 2? Have a look at this question. Jan 10, 2018 at 12:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.