How to Install PyCharm on Ubuntu 24.04 Desktop

PyCharm is an open-source Python programming IDE containing everything a programmer needs to run their codes successfully. PyCharm offers features like quick error detection, smart code completion, and fixes that help you write clean and error-free code. It also has a tool useful for debugging and testing your programs, and allowing you to find and fix your problems.

With the release of the stable Ubuntu 24.04 LTS system, installing PyCharm will allow programmers to take advantage of the robust and feature-rich Python IDE. This guide will help you learn:

How to Install PyCharm on Ubuntu 24.04 Desktop

You can install PyCharm on Ubuntu 24.04 desktop through:

  • Snap Store
  • App Center
  • Tar File
  • Flatpak
  • JetBrains Toolbox

How to Install PyCharm on Ubuntu 24.04 Desktop from the Snap Store

There are three PyCharm versions you can install on Ubuntu 24.04 from the Snap Store:

  • PyCharm Professional (Paid Version with a full set of features)
  • PyCharm Educational (Educational purposes with basic features for Python programming)
  • PyCharm Community (Free version with the essential set of tools for Python programming)

Before installing the PyCharm version, ensure Snap Store is installed on Ubuntu. By default, Snap Store is installed on Ubuntu 24.04, however in case you delete it accidentally, run the below-given command to install it again:

sudo apt install snapd -y

To install PyCharm Professional on Ubuntu 24.04 from Snap Store, you can run the below-given command:

sudo snap install pycharm-professional --classic
Install PyCharm on Ubuntu 24.04 Desktop a

If you want to install PyCharm Educational and PyCharm Community on Ubuntu 24.04, run the below-provided commands:

For installing Pycharm Educational:

sudo snap install pycharm-educational --classic

For installing Pycharm Community:

sudo snap install pycharm-community --classic
Install PyCharm on Ubuntu 24.04 Desktop b

To remove the PyCharm edition installed through the Snap Store, you can use the below-given command:

sudo snap remove pycharm-edition

Note: Replace the edition with the PyCharm edition you want to remove from Ubuntu; professional. educational or community.

Install PyCharm on Ubuntu 24.04 Desktop c

After completing the PyCharm installation, you can run it from the Snap Store using the following command:

sudo snap run pycharm-edition

Or run it from the Application menu by searching it with “pycharm” keyword

Install PyCharm on Ubuntu 24.04 Desktop d
Install PyCharm on Ubuntu 24.04 Desktop e

If you have installed PyCharm Professional, you can use the 30-day trial version, after that, you have to purchase it. 

Install PyCharm on Ubuntu 24.04 Desktop f

How to Install PyCharm on Ubuntu 24.04 from App Center

You can also install PyCharm on Ubuntu 24.04 from the App Center using the following steps:

Step 1: First open App Center on Ubuntu 24.04 from the 

Install PyCharm on Ubuntu 24.04 Desktop g

Step 2: Then search pycharm in the search box:

Install PyCharm on Ubuntu 24.04 Desktop h

Step 3: Choose the desired channel and click the Install button:

Install PyCharm on Ubuntu 24.04 Desktop i

Step 4: Authenticate yourself by providing your system’s password:

Install PyCharm on Ubuntu 24.04 Desktop j

This completes the installation of PyCharm on Ubuntu 24.04 from the App Center.

Step 5: You can run PyCharm from the App Center using the Open button:

Install PyCharm on Ubuntu 24.04 Desktop k

Note: To remove PyCharm installed through App Center on Ubuntu, simply click the Uninstall button from the ellipse option:

Install PyCharm on Ubuntu 24.04 Desktop l

How to Install PyCharm from Tar File

You can also install PyCharm on Ubuntu 24.04 by downloading the official tar file from the web page and installing the application through it. Go through the following steps to perform PyCharm installation on Ubuntu through the tar file:

Step 1: Download the PyCharm Source File

First, navigate to the PyCharm website and download the latest tar.gz source file directly from the browser or using the terminal from the wget command. 

Install PyCharm on Ubuntu 24.04 Desktop m

The latest PyCharm professional source file (2024) can be downloaded directly from the terminal using the following command:

wget https://download-cdn.jetbrains.com/python/pycharm-professional-2024.1.1.tar.gz
Install PyCharm on Ubuntu 24.04 Desktop n

Step 2: Extract PyCharm File Contents

Next, use the tar command with the required flags and tar.gz source file name to extract the PyCharm file contents on Ubuntu:

tar xvf pycharm-professional-2024.1.1.tar.gz
Install PyCharm on Ubuntu 24.04 Desktop o

Step 3: Run the Script File

Now, navigate to the PyCharm source folder’s bin directory using the cd command:

cd pycharm-2024.1.1/bin

Inside the bin directory, execute the PyCharm script file:

./pycharm.sh
Install PyCharm on Ubuntu 24.04 Desktop p

This will run the PyCharm application on your Ubuntu desktop:

Install PyCharm on Ubuntu 24.04 Desktop q

How to Install PyCharm on Ubuntu 24.04 from Flatpak

Flatpak is another effective way to install PyCharm on Ubuntu 24.04, it can be done by following the below-given steps:

Step 1: Install Flatpak on Ubuntu

First, install Flatpak on Ubuntu from the standard repository through the below-given command:

sudo apt install flatpak -y
Install PyCharm on Ubuntu 24.04 Desktop r

Step 2: Add Flat Hub Remote Repository

Now, add the remote Flat Hub repository on Ubuntu using the below-mentioned command:

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
Install PyCharm on Ubuntu 24.04 Desktop s

Step 3: Install PyCharm from Flatpak

Once the Flat Hub repository is added, you can install PyCharm Professional on Ubuntu using the following command:

sudo flatpak install flathub com.jetbrains.PyCharm-Professional -y
Install PyCharm on Ubuntu 24.04 Desktop t

Note: For installing PyCharm Community on Ubuntu through Flatpak, simply replace professional with community in the above flatpak command.

Step 4: Run PyCharm on Ubuntu from Flatpak 

You can run PyCharm Professional on Ubuntu from Flatpak by running the following command:

flatpak run com.jetbrains.PyCharm-Professional
Install PyCharm on Ubuntu 24.04 Desktop u

Note: You can uninstall the PyCharm edition from Flatpak using the flatpak uninstall command, followed by the edition you have installed. The following command will uninstall PyCharm Professional from Flatpak:

sudo flatpak uninstall com.jetbrains.PyCharm-Professional -y
Install PyCharm on Ubuntu 24.04 Desktop v

How to Install PyCharm on Ubuntu 24.04 from JetBrains Toolbox

PyCharm officials have also provided a JetBrains toolbox that can be installed and run on Linux desktops, including Ubuntu 24.04. Inside this toolbox, you will find PyCharm editions; Professional and Community, which can easily be installed on the system. 

To install PyCharm on Ubuntu 24.04 from the JetBrains toolbox, go through the following steps:

Step 1: Install Dependency on Ubuntu

First, install a dependency on Ubuntu using the below-given command, as it is needed to run JetBrains toolbox on Ubuntu:

sudo apt install libfuse2 -y
Install PyCharm on Ubuntu 24.04 Desktop w

Step 2: Download JetBrains Toolbox Source File

Now, navigate to the JetBrains web page and download the source file for the 64-bit Linux system:

Install PyCharm on Ubuntu 24.04 Desktop x

You can also directly download it from the terminal through the wget command with the URL for the JetBrains source file. The latest version of JetBrains Toolbox source file while writing this guide is 2.3.1.31116, which can be downloaded on Ubuntu from the following command:

wget https://download-cdn.jetbrains.com/toolbox/jetbrains-toolbox-2.3.1.31116.tar.gz
Install PyCharm on Ubuntu 24.04 Desktop y

Step 3: Extract JetBrains Toolbox Source File

Now, you must extract the JetBrains toolbox source file using the tar command with the source file name:

tar xvf jetbrains-toolbox-2.3.1.31116.tar.gz
Install PyCharm on Ubuntu 24.04 Desktop z

Step 4: Run JetBrains Toolbox 

Next, navigate to the JetBrains toolbox source file using the cd command with the directory name:

cd jetbrains-toolbox-2.3.1.31116

Note: The ls command can find your source directory name.

Inside the directory, run the JetBrains toolbox on Ubuntu from the below-given command:

./jetbrains-toolbox

It will launch the JetBrains toolbox on your Ubuntu desktop:

Install PyCharm on Ubuntu 24.04 Desktop a1

Step 5: Install PyCharm from JetBrains Toolbox 

You can search for PyCharm editions or scroll it to find your desired edition and download it on Ubuntu desktop using the Install button. Here, we are installing PyCharm Professional on Ubuntu from the JetBrains toolbox:

Install PyCharm on Ubuntu 24.04 Desktop a2

After completing the PyCharm installation, you can run it from Ubuntu’s application menu:

Install PyCharm on Ubuntu 24.04 Desktop a3

Note: You can uninstall your desired PyCharm edition from the JetBrains toolbox using the ellipsis option at the front of the application. Then choose the Uninstall button to remove PyCharm from Ubuntu:

Install PyCharm on Ubuntu 24.04 Desktop a4

Conclusion

PyCharm is a robust and versatile IDE for Python programming, which can be installed on Ubuntu 24.04 from Snap Store, App Center, tar file, Flatpak, and JetBrains toolbox. Snap Store and App Center methods are simple and install the PyCharm IDE in a few steps. For Flatpak, you must download the tool on Ubuntu, add the Flat Hub repository, and then install the IDE through it. On the other hand, tar and JetBrains toolbox methods require downloading the tar.gz file, extracting the contents, and then running the executable file to perform PyCharm installation on Ubuntu. You can choose the methods for PyCharm installation according to your choice, the ultimate goal is how you can benefit from this IDE. 

var authorName = "' . esc_js($post_author) . '";'; ?>