Overview

PyCharm is an IDE (Integrated Development Environment) for the Python programming. language.

If you haven’t installed Python in your machine check out this guide for Ubuntu.

 

Prerequisites

  • Ubuntu 18.04

 

Installation

01. Download the installer at the PyCharm official website. Select from either Professional or Community.

The Professional edition provides a lot of features that boosts productivity, but can also be done on the Community version, but might need to do it some other way. An example is the Flask supported runtime.

 

02. Download the installer into the local machine.

 

03. Open a terminal window, change directory to the downloaded file. Execute the following.

# FORMAT

$ cd {{download folder}}

$ tar xvzf pycharm_{{professional|community-version}}.tar.gz -C {{destination-directory}}

# EXAMPLE

$ cd ~/Downloads

$ tar xvzf pycharm-professional-2019.2.1.tar.gz -C ~/dev/

 

04. Navigate to the extracted destination directory and run the following to run PyCharm.

# FORMAT

$ cd {{destination-directory}}/{{pycharm-version}}

$ bin/pycharm.sh

# EXAMPLE

$ cd ~/dev/pycharm-2019.2.1/

$ bin/pycharm.sh 

 

05. If a previous version of PyCharm is installed an option to import previous setting will be shown. This will import project workspace and IDE settings. Choose the preferred option.

For Professional edition users, the previous license key will be detected and used by PyCharm.

 

06. The application will open.

 

07. Congratulations! PyCharm is ready for Python development.

Previous How To Install IntelliJ IDEA (Java IDE) In Ubuntu
Next Microsoft Opens Research Laboratory In Zurich