How To Install PyCharm In Ubuntu 14.04 and 16.04

How to install PyCharm in Ubuntu

A quick tutorial to show you how to install PyCharm in Ubuntu and Ubuntu derivatives such as Linux Mint, elementary OS, Linux Lite etc.

PyCharm is an IDE for Python development and has been considered as one of the best Python IDE by the experts. The IDE comes in professional and community edition. The community edition is free of cost, but professional edition has more features. We shall see the installation procedure of both community and professional edition in this tutorial.

PyCharm features

But before we see that, let’s have a look at the features of PyCharm IDE:

  • Syntax highlighting
  • Auto-Indentation and code formatting
  • Code completion
  • Line and block commenting
  • On-the-fly error highlighting
  • Code snippets
  • Code folding
  • Easy code navigation and search
  • Code analysis
  • Configurable language injections
  • Python refactoring
  • Documentation

The full list of features can be found here. You can read this comparison between professional and community edition to decide which version is suitable for you.

Though you can always go to its website and download the tarball to use PyCharm, it’s not very convenient to run a shell script each time or do extra work to integrate it in your Ubuntu system. This is why I am going to show you two ways to install PyCharm on Ubuntu.

Update: PyCharm Pro version is now available in Ubuntu Software Center in Ubuntu 16.04. So you can just install it from there.

Method 1: Install PyCharm in Ubuntu using umake

Ubuntu provide a wonderful command line tool, umake for developers. umake lets you easily install a number of development tools in Ubuntu such as Android Studio, Visual Studio Code, Ubuntu SDK, Eclipse, Arudino Software Distribution etc. PyCharm is also one of the development tools included in the umake.

To install PyCharm using umake, you need to have umake first. Normally, it should already be installed in your system, but if it is not, use the PPA below to get the latest stable version of umake:

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

Once you have umake, use the command below to install PyCharm Community Edition in Ubuntu:

umake ide pycharm

To install PyCharm Professional Edition (you need license for this), you can use the command below:

umake ide pycharm-professional

To remove PyCharm installed via umake, use the command below:

umake -r ide pycharm

Method 2: Install PyCharm in Ubuntu and Linux Mint using PPA

We’ll be using an unofficial PPA to easily install PyCharm in Ubuntu. I am using Ubuntu 15.04 but this PPA is also available for Ubuntu 14.04. You can use the same method to install PyCharm in Linux Mint 17, elementary OS Freya and other Ubuntu based Linux distributions. PyCharm uses Java so make sure to install Java in Ubuntu beforehand.

Suggested read
Get Up To 20GB Of Extra Free Cloud Storage On Ubuntu One By Inviting Friends

Open a terminal and use the following commands:

sudo add-apt-repository ppa:mystic-mirage/pycharm
sudo apt-get update

To install the community edition of PyCharm, use the command below. It will download data of around 120 MB.

sudo apt-get install pycharm-community

To install the professional edition of PyCharm, use the command below. It will download data of around 160 MB.

sudo apt-get install pycharm

Once installed, go to Unity Dash and search for PyCharm and you should be able to see it running. This is what it looked like on my Ubuntu 15.04:

Installing PyCharm in Ubuntu

Remove PyCharm

To uninstall PyCharm installed by the above described method, use the command below to uninstall the community edition of PyCharm:

sudo apt-get remove pycharm-community

To remove the professional version, use the command below:

sudo apt-get remove pycharm

Afterward, use the command below to remove the PPA from the sources list:

sudo add-apt-repository --remove ppa:mystic-mirage/pycharm

That’s all you need to do. I hope this tutorial helped you to install PyCharm in Ubuntu Linux. Any questions or suggestions are always welcomed.


  1. while I typed the “sudo apt-get install pycharm-community”, the error returned: Unable to locate package pycharm-community

Leave a Reply

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