If you have worked with Python or for that matter any other programming language, or even working as a system admin then you probably would have heard about Integrated Development Environment or as they are famously called IDEs. An IDE normally consists of at least a source code editor, build automation tools and a debugger.

Recommended Read: Complete guide to install Anaconda on Ubuntu

Also Read: Simple guide to install JUPYTER NOTEBOOK on Linux

In this tutorial, we will discuss one such famous IDE, PyCharm. PyCharm is a Python IDE & is used widely for python development. It provides many features like code completion, syntax highlighting, error highlighting, code folding, code snippets, code analysis, etc. There are two editions of PyCharm, Professional & community. While the professional edition is paid & has more features, the community edition is open-source & free to use.

In this tutorial, we will learn to install PyCharm on Ubuntu. We will be installing the community edition version of PyCharm.

Install PyCharm on Ubuntu

There are three ways using which we can install PyCharm on Ubuntu. We will be discussing both the methods for the installation.

Method 1 – Using official packages

With this method, we will first download the tar package of PyCharm from the official website & will then install it. To download the package, use the following command,

$ wget https://download.jetbrains.com/python/pycharm-community-2019.3.2.tar.gz

Currently, 2019.3.2 is the latest version of PyCharm. Once the package has been downloaded, then we need to extract it,

$ tar -xzf pycharm-community-2019.3.2.tar.gz

Now, enter into the folder & then to the ‘bin’ directory inside the folder,

$ cd pycharm-community-2019.3.2

$ cd bin

Now we only need to execute the startup script to start the PyCharm on your system.

$ sh pycharm.sh

Method 2 – using PPA

There is an unofficial PPA that also maintains PyCharm on their repository. So we need to first install the PPA & then we can install PyCharm. To add PPA, run the following command,

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

Now we can install PyCharm,

$ sudo apt-get install pycharm-community

And we can start PyCharm like we run any other application, either from the menu or from the terminal with the following command,

$ pycharm-community

Method 3 – using SNAP

Another method to install PyCharm is by using snap, we have already discussed about snap in detail in the following tutorial. So for this method, we will first install snap & then install pycharm using snap. Snap comes pre-installed on Ubuntu version 16.04 & above & if it’s not installed on your system, then install it using the following command,

$ sudo apt-get install snapd

Now install PyCharm using snap with the following command,

$ sudo snap install pycharm-community –classic

Configuring PyCharm

Once PyCharm has been installed & started on the system, you will get the following screen,

install pycharm on ubuntu

Since this will the first time we have installed PyCharm on Ubuntu, we will use the option ‘Do not import settings’ but if you had configs from the previous installation, you can provide the path here to that folder.

On the next screen, we are required to select a theme,

install pycharm on ubuntu

Select a theme & click on the ‘Launcher script’. Now the PyCharm will launch & we will be asked to either create a new project or open an existing one,

install pycharm on ubuntu

Installation & configuration is now complete, we can now use Pycharm. This also concludes our tutorial on how to install PyCharm on Ubuntu. Please do send any queries to us using the comment box below.

If you think we have helped you or just want to support us, please consider these:-

Connect to us: Facebook | Twitter | Linkedin

TheLinuxGURUS are thankful for your continued support.