Read in 2 minutes

last updated 

How to Install PyCharm on Ubuntu 18.04

PyCharm is a full-featured IDE for Python and Web development. It has a built-in debugging support, Docker and Vagrant support, embedded Git control, Anaconda support, syntax highlighting, code completion, ssh terminal, code refactoring and rich navigation capabilities.

PyCharm is extensible via plugins and offers support for Python web development frameworks such as Django and Flask. It can also be used for development in other programming languages such as JavaScript, SQL, HTML, CSS, AngularJS, Node.js and more.

PyCharm is available in two editions, Community and Professional. You can find more information about the differences between the two editions here.

In this tutorial we’ll cover how to install PyCharm Community Edition on Ubuntu 18.04.

Prerequisites

Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges.

Installing PyCharm

The easiest way is to install PyCharm on Ubuntu 18.04 is by using the snappy packaging system. To download and install the PyCharm snap package, open your terminal by using the Ctrl+Alt+T keyboard shortcut and type:

sudo snap install pycharm-community --classic

The download may take some time depending on your connection speed. On successful installation of PyCharm, the following output will be displayed:

pycharm-community 2018.2.4 from 'jetbrains' installed

Alternatively, you can install PyCharm CE using the Ubuntu Software Center as shown on the image bellow:

Starting PyCharm

Now that PyCharm is installed on your Ubuntu system you can start it by clicking on the PyCharm icon (Activities -> PyCharm):

When you start PyCharm for the first time, a window like the following will appear asking you to import PyCharm settings from a previous installation:

Make your selection and click OK to proceed.

Next, you will be prompted to accept the privacy policy.

Scroll to the end and click on the Accept button. You will be also asked whether you want to send anonymous data statistic to JetBrains.

On the next screen you can customize your PyCharm installation and install addition plugins:

Once you finish the customization your can create a new Project.

Conclusion

You have learned how to install PyCharm on your Ubuntu 18.04 machine. You can now explore your new IDE and start working on your Python projects.

Although this tutorial is written for Ubuntu 18.04 the same instructions apply for Ubuntu 16.04 and any Ubuntu based distribution, including Linux Mint and Elementary OS.

To find more information about how to get started with PyCharm visit the PyCharm documentation page.

If you have any question, please leave a comment below.