Installing PyCharm Community on Debian systems

Installing PyCharm Community on Debian systems

  • The PyCharm Community development environment is a free tool for Python programming on Windows, Mac and Linux operating systems.
  • The product of the Czech company JetBrains, in addition to classic coding, offers the possibility of creating web pages.

Author: Periša Reljić

Installing PyCharm Community on Debian systems

(BackBox, Parrot, Ubuntu)

The process of installing the PyCharm development environment is exactly the same for Debian systems such as BackBox, Parrot or Ubuntu. PyCharm is downloaded from the official JetBrains website, the current version at the time of writing is 2016.3.2. When downloading, select the Community version (206 Mb), which will be found in the “Downloads” folder after completion.

For PyCharm to work, Python (which comes pre-installed on Linux) and Java JDK are necessary, whose presence and version can be confirmed in the terminal with the command:

java -version

After which a Java version message will appear that looks something like this:

OpenJDK Runtime Environment (IcedTea 2.6.8) (7u121-2.6.8-1ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.121-b00, mixed mode)

The downloaded package (pycharm-community-2016.3.2.tar.gz) is extracted ( Extract to ) to the ” /tmp ” folder on the computer. Start a terminal (Ctrl + Alt + T) and move PyCharm with the commands:

sudo su -c "chown -R root:root /tmp/pycharm*"
  • (password + Enter), then a new command:
sudo mv /tmp/pycharm-community* /opt/pycharm-community

After that, make symbolic links (symlink) with commands in the terminal:

sudo su -c "ln -s /opt/pycharm-community/bin/pycharm.sh /usr/local/bin/pycharm"
  • (Enter) and:
sudo su -c "ln -s /opt/pycharm-community/bin/inspect.sh /usr/local/bin/inspect"

The installation process is complete, and the first launch of PyCharm is done through the terminal, with the command:

pycharm

In the dialog, select ” I don’t have a previous version of PyCharm “, confirm with ” OK ” and accept  JetBrains Privacy Policy”. PyCharm will then request a new start of the working environment, and after the restart , the update option (Automatically check for updates) can be turned off in the settings ( Configuration ) and the appearance of the working environment can be adjusted.

The initial indexing may take a few minutes, and PyCharm is located in the menu’s Development tools.

  • Create a new Project

References:
https://sr.wikipedia.org/sr/PyCharm
https://www.jetbrains.com/pycharm/download/#section=linux

WebMaster