How to Install PyCharm on Ubuntu 20.04

Install PyCharm on Ubuntu 20.04

In this article, we will have explained the necessary steps to install and configure PyCharm on Ubuntu 20.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

PyCharm is an integrated development environment (IDE) used in computer programming, specifically for the Python language. It provides code analysis, a graphical debugger, an integrated unit tester, integration with version control systems (VCSes), and supports web development with Django as well as Data Science with Anaconda.

Prerequisite:

  • Operating System with Ubuntu 20.04
  • Server IPv4 Address with Superuser Privileges (Root Access)
  • Gnome Terminal for Linux Desktop
  • PuTTy SSH client for Windows or macOS
  • Powershell for Windows 10/11
  • Familiar with APT Commands

Install PyCharm on Ubuntu 20.04

Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.

sudo apt update
sudo apt upgrade

Step 2. Install Snappy Package Manager.

Snappy provides better package management support for Ubuntu. It’s quick and easy to use. To install the Snappy package manager type the following command:

sudo apt install snapd snapd-xdg-open

Step 3. Install PyCharm.

You can install PyCharm Professional Edition from the Snap Store with the following command:

sudo snap install pycharm-professional --classic

You can install PyCharm Community Edition from the Snap Store with the following command:

sudo snap install pycharm-community --classic

Step 4. Starting PyCharm.

Now that PyCharm is installed on your Ubuntu system you can start it by clicking on the PyCharm icon (Activities -> PyCharm) or start PyCharm via terminal run the following command:

$ pycharm-professional 
OR
$ pycharm-community

That’s all you need to do to install PyCharm on Ubuntu 20.04 Focal Fossa. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.