How to Install PyCharm on Ubuntu 22.04

Updated: October 16, 2021

PyCharm is an integrated development environment used in computer programming, specifically for the Python language. It is developed by the Czech company. This guide contains four ways to install Pycharm in Ubuntu 22.04, you can choose a way you that is suitable for you enviroment.

PyCharm’s Features:

  • PyCharm is a cross-platform IDE that provides consistent experience on Windows, macOS, and Linux.
  • PyCharm has smart code completion, code inspections, on-the-fly error flagging and quick fixes, as well as automated code refactorings and rich navigation.
  • PyCharm features a built-in debugger and test runner, a built-in terminal, a Python profiler, integration with major VCS and built-in database tools, remote development capabilities with remote interpreters, and Docker and Vagrant integration.
  • PyCharm works with IPython Notebook, includes an interactive Python terminal, and supports Anaconda as well as a variety of scientific programs like Matplotlib and NumPy.

I’ll show you how to install PyCharm on Ubuntu in this post. It may be done in a variety of ways, but this article will focus on the most straightforward ones. You can also read this guide to Install IntelliJ IDEA on Ubuntu 22.04 too.

How to Install PyCharm IDE on Ubuntu 22.04

Install PyCharm on Ubuntu from Software Center

Software Center Ubuntu should be your first pick if you’re running Ubuntu. Because it provides a large number of packages (including PyCharm) that are simple use.

Step 1: Open Ubuntu Software Center

To install this Pycharm IDE, you must access Software Center from your Ubuntu.

Open Ubuntu Software To Install IntelliJ IDEA

Step 2: Search for Pycharm

Ubuntu Software Center contains many packages, so we must type PyCharm into the search box, and the results will appear.

Choose IntelliJ Version to Install on Ubuntu

Step 3: Install a Pycharm Version

Select the version you wish to and click the Install button.

Click Install Ubuntu to Install IntelliJ IDEA

Using Toolbox App to install Pycharm Ubuntu

The suggested tool for installing JetBrains products is the JetBrains Toolbox App. It allows you to manage and install a variety of products, including Early Access Program (EAP) and Nightly versions, as well as upgrade and roll back as needed and delete any tool. The Toolbox App keeps track of all your projects so you can easily launch any of them in the appropriate IDE and version.

Please follow these steps to install Toolbox App:

Step 1: Download Toolbox App

Download the *.tar.gz from the Toolbox App

Download JetBrains Toolbox to install PyCharm

Step 2: Extract Toolbox App file

After Toolbox App installation, we extract the downloaded file to /opt.

sudo tar -xzf jetbrains-toolbox-*****.tar.gz -C /opt

Step 3: Run Toolbox App

To launch App, run this command from the /opt/jetbrains-toolbox-xxx directory.

./jetbrains-toolbox

Use JetBrains Toolbox to install PyCharm on Linux

The Toolbox App icon will be immediately added to the main menu when you start it. After that, select any PyCharm version to install on Ubuntu.

Use Snap packages to install PyCharm in Ubuntu.

Snaps are easy-to-create and install containerized software bundles. They are safe to use and auto-update. They also function on all major Linux systems without change because their dependencies are included. To install snap, you should this guide: Installing Snap on Linux

Next, to install PyCharm in Ubuntu you need follow guide that corresponds to the version:

PyCharm's version Installation Steps
Free Version sudo snap install pycharm-community --classic
Professional Version sudo snap install pycharm-professional --classic
Educational Version sudo snap install pycharm-educational --classic

Install PyCharm on Ubuntu from Source Code

Although install Pycharm on Ubuntu 22.04 from the source on Ubuntu is a bit tricky, you may obtain the most recent version, which means it has more features. You can follow these steps to get it:

Step 1: Go to Pycharm Download Center

Go to PyCharm Download Center, choose Linux, and download the version you want to install

Choose Linux Version to Install IntelliJ IDEA

Step 2: Extract Pycharm file

Run the following command to extract the downloaded files to the /opt directory:

sudo tar -xzf pycharm-*.tar.gz -C /opt

Step 3: Launch Pycharm

To launch IDE, execute the pycharm.sh script from the extracted directory.

Conclusion

I hope this guide was helpful in helping you know how to install Pycharm on Ubuntu 22.04 or on other Linux distributions. Please do not hesitate to contact me if you have any questions.