PyCharm is a full-featured IDE for Python and Web development. It has 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 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.
Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges.
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 in the image below:
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.
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 you can create a new Project.
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, Kubuntu, and Elementary OS.
To find more information about how to get started with PyCharm visit the PyCharm documentation page.
If you have any questions, please leave a comment below.