Differences between revisions 3 and 15 (spanning 12 versions)
Revision 3 as of 2021-01-24 15:34:41
Size: 1981
Editor: ?JorkanoFaln
Comment: added Bullseye install instructions
Revision 15 as of 2022-11-27 20:52:13
Size: 3676
Editor: ?JorkanoFaln
Comment: update intellij description
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
JetBrains is a company producing proprietary commercial IDEs as well as two open source ones: pycharm-community and intellij-community ([[https://www.jetbrains.com/idea/download/#section=linux|download]]). 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 [[https://en.wikipedia.org/wiki/IntelliJ_IDEA|IntelliJ IDEA]], an IDE for numerous languages (i.e. Kotlin, Java, ...) and [[https://en.wikipedia.org/wiki/PyCharm|PyCharm]], a Python IDE) have free, open source versions which are very easy to install on Debian.
Line 4: Line 4:
= Install instructions = = Installation Instructions =
Line 6: Line 6:
Since there is no official debian package for any of the jetbrains products in the official repositories. There are two methods to install jetbrains software on Debian either by using Jonas Groegor's unofficial PPA or by using Jetbrains official snap packages. 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.
Line 8: Line 8:
== unofficial ppa == == Jonas Gröger's PPA ==
Line 10: Line 10:
Jonas Groegor maintains an unofficial for Ubuntu and Debian: https://github.com/JonasGroeger/jetbrains-ppa. Installing from his repository works in Debian Buster 10 and on Debian Bullseye 11 Jonas Gröger maintains [[https://github.com/JonasGroeger/jetbrains-ppa|an unofficial PPA for Ubuntu and Debian]]. Installing from his repository works in Debian Buster 10, Debian Bullseye 11, Debian Bookworm 12 or later
Line 12: Line 12:
=== Debian 11 Bullseye === === 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" ===
Line 17: Line 26:
echo "deb http://jetbrains-ppa.s3-website.eu-central-1.amazonaws.com focal main" | sudo tee /etc/apt/sources.list.d/jetbrains-ppa.list > /dev/null 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
Line 22: Line 31:
=== Debian 10 Buster === === Debian 10 "Buster" ===
Line 31: Line 41:
== snap ==
Jetbrains maintains official snap packages for their products.
== Snap ==
Line 34: Line 43:
Here are instructions on how to install pycharm-community using the official snap package: JetBrains maintains official snap packages for their products.

Here are instructions on how to install pycharm-community using the [[https://snapcraft.io/pycharm-community|official snap package]]:
Line 47: Line 59:

== Tarball ==

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

 * Download the appropriate tarball, e.g., [[https://www.jetbrains.com/pycharm/download/#section=linux|PyCharm]]
 * Switch to an appropriate directory, e.g. {{{/opt/}}}
 * {{{~$ tar xzvf <path-to-tarball>}}}

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 [[https://stackoverflow.com/questions/69709251/failed-to-create-virtual-environment-in-pycharm|failed to create virtual environment]], the solution is to run {{{~# apt install python3-venv}}}

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:

  • Download the appropriate tarball, e.g., PyCharm

  • Switch to an appropriate directory, e.g. /opt/

  • ~$ tar xzvf <path-to-tarball>

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