This guide contains four ways to install Python on Ubuntu 21.04, you can choose a way you that is suitable for you enviroment.
- 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 build in 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.
Read more: How to Install IntelliJ IDEA on Ubuntu 21.04
Option 1: Install PyCharm from the Software Center Ubuntu
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 Python IDE, you must access Software Center from your Ubuntu.
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.
Step 3: Install a Pycharm Version
Select the version you wish to and click the Install button.
Option 2: Using Toolbox App to install
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
*.tar.gz from the Toolbox App
Step 2: Extract Toolbox App file
After Toolbox App installation, we extract the downloaded file to
Step 3: Run Toolbox App
To launch App, run this command from the
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.
Option 3: Use Snap packages to install PyCharm on Linux.
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 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|
Option 4: Install PyCharm from Source Code
Although installing this Python IDE from the source on Ubuntu is a bit tricky, you may obtain the most recent version, which means it has more features.
To install, follow these steps:
Step 1: Go to Pycharm Download Center
Go to PyCharm Download Center, choose Linux, and download the version you want to install
Step 2: Extract Pycharm file
Run the following command to extract the downloaded files to the
Step 3: Launch Pycharm
To launch IDE, execute the
pycharm.sh script from the extracted directory.
I hope this guide was helpful in getting PyCharm installed on Ubuntu and other Linux systems. Please do not hesitate to contact me if you have any questions.