> ## Content Index
> Fetch the complete content index at: https://itsfoss.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to Install PyCharm in Ubuntu and Other Linux Distros
- URL: https://itsfoss.com/install-pycharm-ubuntu/
- Published: 2015-08-01T23:49:30.000Z
- Updated: 2023-06-30T13:10:46.000Z
- Description: A quick tutorial to show you how to install PyCharm in Ubuntu and other Linux Distributions.
- Author: Abhishek Prakash
- Tags: Ubuntu, Installation 📥

[PyCharm](https://www.jetbrains.com/pycharm/?ref=itsfoss.com) is considered one of the [best Python IDE](https://itsfoss.com/best-python-ides-linux/) by Python experts.

The IDE comes in professional and community editions. 

- The community edition is free of cost
- The professional edition costs money but has more features.

The full list of features can be found [here](https://www.jetbrains.com/pycharm/features/index.html?ref=itsfoss.com). You can read this [comparison between professional and community ](https://www.jetbrains.com/pycharm/buy/license-matrix.jsp?ref=itsfoss.com)editions to decide which version suits you.

The installation steps are pretty much the same for all PyCharm editions.

## Method 1: Install PyCharm in Ubuntu and other Linux using Snap \[Easy\]

The good news is that PyCharm is available in the Ubuntu Software Center as a [Snap package](https://itsfoss.com/use-snap-packages-ubuntu-16-04/). This means that you can search for it in the software center and install it from there.

![Install PyCharm from Ubuntu software center](https://itsfoss.com/content/images/2023/05/Install-PyCharm-from-Ubuntu-software-center.png)

If you are using some other Linux distribution, [enable snap support](https://itsfoss.com/install-snap-linux/) first and then use the snap command to install the PyCharm Community Edition:

```
sudo snap install pycharm-community --classic
```

![install PyCharm in Ubuntu using snap](https://itsfoss.com/content/images/2023/05/install-PyCharm-in-Ubuntu-using-snap.png)

#### Remove PyCharm

If you wish to remove the snap version of PyCharm, all you have to do is use the following command:

```
sudo snap remove pycharm-community
```

![remove PyCharm snap version from ubuntu](https://itsfoss.com/content/images/2023/05/remove-PyCharm-snap-version-from-ubuntu.png)

💡

Students with an academic email and developers working on Open Source projects which are non-commercial can request access to PyCharm Professional Edition for free! More information on other initiatives for free access and discounts can be found [here](https://www.jetbrains.com/pycharm/buy/?ref=itsfoss.com#edition=discounts).

## Method 2: Install PyCharm using official Linux installer from JetBrains \[Intermediate level\]

If you do not like Snap packages, there are other ways to install PyCharm. PyCharm provides an installer for Linux and I am going to show you how to use it.

Go to the [PyCharms Download page](https://www.jetbrains.com/pycharm/download/?ref=itsfoss.com#section=linux) and download the tar.gz files for either the Professional or Community version. I am using the Community version in the tutorial:

![Download PyCharm from the official website](https://itsfoss.com/content/images/2023/05/Download-PyCharm-from-the-official-website.png)

Once done, open the terminal and change your current working directory to the `Downloads` or that specific directory where the file is downloaded:

```
cd ~/Downloads
```

Now extract the tar gz file [using the tar command](https://linuxhandbook.com/basic-tar-commands/?ref=itsfoss.com) in this way

```
tar -xzf pycharm-community-*.gz
```

Now enter the extracted PyCharm folder:

```
cd pycharm-community-*
```

Go to its bin folder:

```
cd bin
```

You’ll find a shell script here. Make it executable [using the chmod command](https://learnubuntu.com/chmod-command/?ref=itsfoss.com) as shown:

```
chmod u+x pycharm.sh
```

Now [run this shell script](https://itsfoss.com/run-shell-script-linux/):

```
sh pycharm.sh
```

It will start the PyCharm privacy and policy page. Click on the accept button to get further in the process:

![Terms and conditions to use PyCharm on Ubuntu](https://itsfoss.com/content/images/2023/05/Terms-and-conditions-to-use-PyCharm-on-Ubuntu.png)

Then JetBrains will ask whether you would like to send data about features, plugins, and other data. 

If you wish to send the data, you can hit the “Send Anonymous Statistics” button, or you can click on the “Don’t Send” button:

![Data sharing with PyCharm](https://itsfoss.com/content/images/2023/05/Data-sharing-with-PyCharm.png)

Yep, that's all it takes to install PyCharm. 

But creating a desktop shortcut is a good idea here as no one would want to open the terminal and start the PyCharm manually.

To do so, click on that little gear icon and select `Create desktop entry`:

![create desktop entry for PyCharm in Ubuntu](https://itsfoss.com/content/images/2023/05/Create-desktop-entry-for-PyCharm.png)

And it will add the PyCharm entry to the system menu and can be accessed easily:

![Access PyCharm from system menu](https://itsfoss.com/content/images/2023/05/image-14.png)

#### Remove PyCharm

To remove the PyCharm (if installed manually), first, go to the directory where you extracted the .tar.gz file while installation.

For most users, it should be inside the `Downloads` directory:

```
cd Downloads
```

![remove PyCharm from source](https://itsfoss.com/content/images/2023/05/remove-PyCharm-from-source.png)

Now, remove this directory using the rm command as shown:

```
rm -r pycharm-community-2023.1.2
```

That should remove the PyCharm from your system.

But I would recommend removing the other three directories so that you can have a fresh install (if you re-install in the future):

```
rm -r ~/.config/JetBrains/PyCharmCE2023.1/
rm -r ~/.cache/JetBrains/PyCharmCE2023.1/
rm -r ~/.local/share/JetBrains/consentOptions/
```

That's it!

## Looking for other Python IDEs? Here you go

For some reason, if the PyCharm wasn't good enough for your workflow, we have a dedicated list of the best IDEs for Python: 

[Best Python IDEs for LinuxWhether a coder or not, you must have heard about Python Programming language in some capacity. Python is used extensively in Artificial Intelligence and Machine Learning, some of the most popular buzzwords in computing. Being a popular programming language, you may already know or be intereste…![](https://itsfoss.com/content/images/size/w256h256/2022/12/android-chrome-192x192.png)It's FOSSAnuj Sharma![](https://itsfoss.com/content/images/wordpress/2022/11/foss-python-ides-for-linux.png)](https://itsfoss.com/best-python-ides-linux/)

I hope you will find this helpful.