Differences between revisions 2 and 8 (spanning 6 versions)
Revision 2 as of 2021-01-11 02:10:41
Size: 1496
Editor: PaulWise
Comment: drop jetbrains business info, that will get out of date and is too much advertising of non-free software
Revision 8 as of 2022-02-22 20:39:01
Size: 3057
Editor: ?Celejar
Comment: add tarball installation method, clean up language
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Description ==
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]]).
= 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 [[https://en.wikipedia.org/wiki/IntelliJ_IDEA|IntelliJ IDEA]], an IDE for numerous languages, 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 Groegor'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. Jonas Groegor maintains [[https://github.com/JonasGroeger/jetbrains-ppa|an unofficial PPA for Ubuntu and Debian]]. Installing from his repository works in Debian Buster 10 and on Debian Bullseye 11.

=== 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 focal main" | sudo tee /etc/apt/sources.list.d/jetbrains-ppa.list > /dev/null
sudo apt update
sudo apt install pycharm-community
}}}

=== Debian 10 "Buster" ===
Line 20: Line 32:
=== snap ===
Jetbrains maintains official snap packages for their products.
== Snap ==
Line 23: Line 34:
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 36: Line 50:

== 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 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, 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 Groegor's PPA

Jonas Groegor maintains an unofficial PPA for Ubuntu and Debian. Installing from his repository works in Debian Buster 10 and on Debian Bullseye 11.

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 focal 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 displays the error failed to create virtual environment, the solution is to run ~# apt install python3-venv