Description

JetBrains is a Czech software development company which makes tools for software developers and project managers. It develops a number of highly regarded and popular IDEs, some of which (including IntelliJ IDEA, an IDE for numerous languages (i.e. Kotlin, Java, ...) and PyCharm, a Python IDE) have free, open source versions which are very easy to install on Debian.

Installation Instructions

Although there are no official Debian packages for any of the JetBrains products in the repositories, there are several methods to install these products on Debian.

Jonas Gröger's PPA

Jonas Gröger maintains an unofficial PPA for Ubuntu and Debian. Installing from his repository works in Debian Buster 10, Debian Bullseye 11, Debian Bookworm 12 or later

Debian 12 "Bookworm" or newer

Execute the following commands to install pycharm-community on debian bookworm using his ppa:

curl -s https://s3.eu-central-1.amazonaws.com/jetbrains-ppa/0xA6E8698A.pub.asc | gpg --dearmor | sudo tee /usr/share/keyrings/jetbrains-ppa-archive-keyring.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/jetbrains-ppa-archive-keyring.gpg] http://jetbrains-ppa.s3-website.eu-central-1.amazonaws.com any main" | sudo tee /etc/apt/sources.list.d/jetbrains-ppa.list > /dev/null
sudo apt update
sudo apt install pycharm-community

Debian 11 "Bullseye"

Execute the following commands to install pycharm-community on debian bullseye using his ppa:

curl -s https://s3.eu-central-1.amazonaws.com/jetbrains-ppa/0xA6E8698A.pub.asc | sudo apt-key add -
echo "deb http://jetbrains-ppa.s3-website.eu-central-1.amazonaws.com any main" | sudo tee /etc/apt/sources.list.d/jetbrains-ppa.list > /dev/null
sudo apt update
sudo apt install pycharm-community

Debian 10 "Buster"

Execute the following commands to install pycharm-community on debian buster using his ppa:

curl -s https://s3.eu-central-1.amazonaws.com/jetbrains-ppa/0xA6E8698A.pub.asc | sudo apt-key add -
echo "deb http://jetbrains-ppa.s3-website.eu-central-1.amazonaws.com bionic main" | sudo tee /etc/apt/sources.list.d/jetbrains-ppa.list > /dev/null
sudo apt update
sudo apt install pycharm-community

Snap

JetBrains maintains official snap packages for their products.

Here are instructions on how to install pycharm-community using the official snap package:

Install snapd

sudo apt install snapd

Install pycharm-community as a snap package

sudo snap install pycharm-community --classic

Run pycharm

snap run pycharm-community

Tarball

JetBrains products are easy to install from the tarballs it releases:

The software can now be run with a command like /opt/pycharm-community-2021.3.2/pycharm.sh, or $PATH can be modified as appropriate. Note that when installing this way, one does not have the benefit of the package management system's dependency handling, so some dependencies may have to be installed manually. For example, if ?PyCharm displays the error failed to create virtual environment, the solution is to run ~# apt install python3-venv