Install PyCharm
PyCharm is a cross-platform IDE that provides consistent experience on the Windows, macOS, and Linux operating systems.
PyCharm is available in two editions: Professional , and Community . The Community edition is an open-source project, and it’s free, but it has fewer features. The Professional edition is commercial, and provides an outstanding set of tools and features. For details, see the editions comparison matrix.
System requirements
4 GB of free RAM
8 GB of total system RAM
Multi-core CPU. PyCharm supports multithreading for different operations and processes making it faster the more CPU cores it can use.
2.5 GB and another 1 GB for caches
SSD drive with at least 5 GB of free space
Officially released 64-bit versions of the following:
Microsoft Windows 8 or later
macOS 10.14 or later
Any Linux distribution that supports Gnome, KDE , or Unity DE. PyCharm is not available for some Linux distributions, such as RHEL6 or CentOS6, that do not include GLIBC 2.14 or later.
Pre-release versions are not supported.
Latest 64-bit version of Windows, macOS, or Linux (for example, Debian, Ubuntu, or RHEL)
You do not need to install Java to run PyCharm because JetBrains Runtime is bundled with the IDE (based on JRE 17).
Python 2: version 2.7
Python 3: from the version 3.6 up to the version 3.12
Install using the Toolbox App
The JetBrains Toolbox App is the recommended tool to install JetBrains products. Use it to install and manage different products or several versions of the same product, including Early Access Program (EAP) and Nightly releases, update and roll back when necessary, and easily remove any tool. The Toolbox App maintains a list of all your projects to quickly open any project in the right IDE and version.
Install the Toolbox App
Download the installer .exe from the Toolbox App web page.
Run the installer and follow the wizard steps.
After you run the Toolbox App, click its icon in the notification area and select which product you want to install.
To install a specific version, click and select Available versions .
Log in to your JetBrains Account from the Toolbox App, and it will automatically activate the available licenses for any IDE that you install.
Install the Toolbox App
Download the disk image .dmg from the Toolbox App web page.
There are separate disk images for Intel and Apple Silicon processors.
Mount the image and drag the JetBrains Toolbox app to the Applications folder.
After you run the Toolbox App, click its icon in the main menu and select which product you want to install.
To install a specific version, click and select Available versions .
Log in to your JetBrains Account from the Toolbox App, and it will automatically activate the available licenses for any IDE that you install.
Install the Toolbox App
Download the tarball .tar.gz from the Toolbox App web page.
Extract the tarball to a directory that supports file execution.
For example, if the downloaded version is 1.17.7391, you can extract it to the recommended /opt directory using the following command:
Execute the jetbrains-toolbox binary from the extracted directory to run the Toolbox App.
After you run the Toolbox App for the first time, it will automatically add the Toolbox App icon to the main menu.
Select the product that you want to install.
To install a specific version, click and select Available versions .
Log in to your JetBrains Account from the Toolbox App, and it will automatically activate the available licenses for any IDE that you install.
You can use this shell script that automatically downloads the tarball with the latest version of the Toolbox App, extracts it to the recommended /opt directory, and creates a symbolic link in the /usr/local/bin directory.
If you installed PyCharm via the Toolbox App, you can find the installation directory in the app: open the settings of the IDE instance in the Toolbox App, expand Configuration and look for the Install location field.
Standalone installation
Install PyCharm manually to manage the location of every instance and all the configuration files. For example, if you have a policy that requires specific install locations.
There is a separate installer for ARM64 processors.
To verify the integrity of the installer, use the SHA checksum linked from the Download page.
Run the installer and follow the wizard steps.
Mind the following options in the installation wizard
64-bit launcher : Adds a launching icon to the Desktop.
Open Folder as Project : Adds an option to the folder context menu that will allow opening the selected directory as a PyCharm project.
.py : Establishes an association with Python files to open them in PyCharm.
Add launchers dir to the PATH : Allows running this PyCharm instance from the Console without specifying the path to it.
To run PyCharm, find it in the Windows Start menu or use the desktop shortcut. You can also run the launcher batch script or executable in the installation directory under bin .
There are separate disk images for Intel and Apple Silicon processors.
To verify the integrity of the downloaded disk image, use the SHA checksum linked from the Download page.
Mount the image and drag the PyCharm app to the Applications folder.
Run the PyCharm app from the Applications directory, Launchpad, or Spotlight.
Install using tar archives
There is a separate tarball for ARM64 processors.
Unpack the pycharm-*.tar.gz file to a different folder, if your current Download folder doesn’t support file execution:
The recommended installation location according to the filesystem hierarchy standard (FHS) is /opt . To install PyCharm into this directory, enter the following command:
To verify integrity of the downloaded archive, use the SHA checksum linked from the Download page.
Switch to the bin subdirectory:
Run pycharm.sh from the bin subdirectory.
To create a desktop entry, do one of the following:
On the Welcome screen, click Configure | Create Desktop Entry
From the main menu, click Tools | Create Desktop Entry
When you run PyCharm for the first time, you can take several steps to complete the installation, customize your instance, and start working with the IDE.
For information about the location of the default IDE directories with user-specific files, see Directories used by the IDE.
Silent installation on Windows
Silent installation is performed without any user interface. It can be used by network administrators to install PyCharm on a number of machines and avoid interrupting other users.
To perform silent install, run the installer with the following switches:
/S : Enable silent install
/CONFIG : Specify the path to the silent configuration file
/D : Specify the path to the installation directory
This parameter must be the last in the command line, and it should not contain any quotes even if the path contains blank spaces.
To check for issues during the installation process, add the /LOG switch with the log file path and name between the /S and /D parameters. The installer will generate the specified log file. For example:
Silent configuration file
You can download the silent configuration files for PyCharm at https://download.jetbrains.com/python/silent.config.
The silent configuration file defines the options for installing PyCharm. With the default options, silent installation is performed only for the current user: mode=user . If you want to install PyCharm for all users, change the value of the installation mode option to mode=admin and run the installer as an administrator.
The default silent configuration file is unique for each JetBrains product. You can modify it to enable or disable various installation options as necessary.
It is possible to perform silent installation without the configuration file. In this case, omit the /CONFIG switch and run the installer as an administrator. Without the silent configuration file, the installer will ignore all additional options: it will not create desktop shortcuts, add associations, or update the PATH variable. However, it will still create a shortcut in the Start menu under JetBrains .
See more details on installing PyCharm in the video tutorial:
Install as a snap package on Linux
You can install PyCharm as a self-contained snap package. Since snaps update automatically, your PyCharm installation will always be up-to-date.
To use snaps, install and run the snapd service as described in the installation guide.
On Ubuntu 16.04 LTS and later, this service is pre-installed.
PyCharm is distributed via two channels:
The stable channel includes only stable versions. To install the latest stable release of PyCharm, run the following command:
The —classic option is required because the PyCharm snap requires full access to the system, like a traditionally packaged application.
The edge channel includes EAP builds. To install the latest EAP build of PyCharm, run the following command:
When the snap is installed, you can launch it by running the pycharm-professional or pycharm-community command.
To list all installed snaps, you can run sudo snap list . For information about other snap commands, see the Snapcraft documentation.
How to install PyCharm in Ubuntu 16.04/ Ubuntu 14.04/ Ubuntu 18.04/ Linux (Easiest way) ?
The easiest way which worked for me includes the following steps:
- Go to https://www.jetbrains.com/pycharm/download/#section=linux
There are two versions available:
a)Community edition- Lightweight IDE for Python & Scientific development
b)Professional edition-Full-featured IDE for Python & Web development, has 30 day free trial - Download any of the two, I would recommend Community edition.
- Open terminal
- cd Downloads
- tar -xzf pycharm-community-2018.1.4.tar.gz
- cd pycharm-community-2018.1.4
- cd bin
- sh pycharm.sh
- Now a window will open like this:
10. Next select the defaults options in the bottom left corner:
11. You should get this:
12. Next create a Desktop entry or once the project opens go to: Tools-> Create Desktop Entry
How to Install PyCharm on Linux [Step-By-Step]
While we believe that this content benefits our community, we have not yet thoroughly reviewed it. If you have any suggestions for improvements, please let us know by clicking the “report an issue“ button at the bottom of the tutorial.
PyCharm is an Integrated Development Environment for Python developed by Jetbrains. It offers an intelligent code editor and tools for debugging, refactoring, and profiling the code.
Apart from this it also has a built-in terminal and integration with major Version controls systems (Git, SVN, etc.) and Virtual Machines like Docker and Vagrant.
This feature-rich environment is the reason, PyCharm has quickly become one of the most popular IDE among developers. Since a lot of developers use Linux, we will take a look at how to install PyCharm on Linux.
Installing PyCharm on Linux
There are two major ways to install Pycharm on Linux. The first one is using the official tar package released by JetBrains and the other is through a Snap package.
Installing PyCharm on Linux using Snap
Snaps are an app package developed by Canonical. They are marketed as universal packages and are supported by all major distributions including Ubuntu, Linux Mint, Debian, Arch, Fedora, and Manjaro. For a full list of supported distributions refer here.
To install packages through snap, we first need to have snapd on your system. If you don’t have snap installed on your system, refer here to learn how to download snap.
Now to install PyCharm, run the following command:
Installing PyCharm on Linux using tar
This method simply required downloading and unpacking a tarball and can be used on ANY Linux distribution.
Step 1: Download Tarball
Go to the Pycharm Download page and download the package of your choice. In this tutorial, I will be installing the Community (Free) package.

Step 2: Extract the Tarball
After you have downloaded the tar package, go ahead and unpack it using the tar command.

- x : Extract the tar file
- v : Makes the process verbose but
- z : Uses gzip (for tar.gz files)
- f : Specifies file input
Step 3: Make PyCharm executable
With Tarballs, we don’t have to install anything. Instead, we just have to extract the tarball and make the shell script executable by giving them certain permissions.
To do this, go to the extracted folder (it must be in the same folder as the tarball), enter its bin folder and use chmod on the PyCharm shell file.

Setting up Pycharm on Linux
If you have installed Pycharm through snaps, you can launch it from the start menu or by typing Pycharm in the terminal. If you have installed it through tarball, simply go to the bin folder of the extracted pycharm folder and execute the pycharm.sh file by typing ./pycharm.sh in the terminal.
When you start up PyCharm for the first time, you will be prompted with terms and conditions. After accepting the Terms and Conditions, PyCharm will ask you whether you want to send “Anonymous Statistics” or not.

After accepting the necessary terms, you can start your first project in Pycharm or you can open an already existing project. Other than this you can also open a project from VCS such as Git.

Conclusion
In this article, we learned how to install Pycharm, which is an integrated development environment widely used by programmers around the world. It can be installed either using the tar file or the snap package manager. To learn more about Pycharm, check out the documentation here. How to Install PyCharm on Linux
Thanks for learning with the DigitalOcean Community. Check out our offerings for compute, storage, networking, and managed databases.
Установка PyCharm в Ubuntu
PyCharm — это одна из лучших сред разработки для написания программ на языке Python. Программа распространяется как в профессиональной версии, которая стоит денег, так и в версии для сообщества. Профессиональная версия имеет больше возможностей, в этой статье будет рассмотрена установка PyCharm в Ubuntu, как профессиональной, так и бесплатной версии.
Все рассмотрено очень подробно, поэтому проблем с установкой возникнуть не должно. Но сначала давайте рассмотрим отличительные особенности этой IDE.
Особенности PyCharm
Среда разработки программного обеспечения на языке Python имеет такие особенности:
- Подсветка синтаксиса;
- Автоотступы и форматирование кода;
- Автозавершение кода;
- Подсветка блочных и строковых комментариев;
- Выделение ошибок в реальном времени;
- Сворачивание фрагментов кода;
- Легкая навигация по коду и поиск;
- Анализ кода;
- Настраиваемые вставки кода;
- Рефракторинг Python;
- Документация.
Отличия между профессиональной платной версией и бесплатной вы можете посмотреть на официальной странице.
Установка PyCharm Ubuntu
1. Пакетный менеджер snap
С современных версиях Ubuntu, в том числе в Ubuntu 20.04 можно установить PyCharm с помощью пакетного менеджера snap. Для установки профессиональной версии выполните:
sudo snap install pycharm-professional —classic
А для установки редакции community:
sudo snap install pycharm-community —classic
Есть ещё версия для образовательных учреждений, для её установки выполните:
sudo snap install pycharm-educational —classic

После завершения установки программа будет доступна в главном меню.
2. Центр приложений
Вы можете установить Pycharm с помощью центра приложений, для этого простой найдите программу в поиске:

Затем нажмите кнопку Установить:

3. Официальный сайт
На официальном сайте программы доступны архивы с исполняемыми файлами программы для Community и Professional версии, скачайте нужный вам вариант:

Затем распакуйте полученный архив:
Затем запустить программу можно из подкаталога pycharm-community-2020.2.1/bin:
Для удобства вы можете создать ярлык для этой команды.
Первый запуск PyCharm
При первом запуске программа попросит принять лицензионное соглашение:

Выберите надо ли передавать данные об использовании программы разработчикам:

Затем выберите тему оформления:

После этого программа предложит вам создать новый проект и вы сможете пользоваться PyCharm:

Удаление PyCharm
Чтобы удалить PyCharm, установленный с помощью пакетного менеджера snap используйте такую команду:
sudo snap remove pycharm-community
Для удаления профессиональной редакции выполните:
sudo snap remove pycharm-professional
Для удаления версии, установленной из официального сайта достаточно удалить папку, в которую вы её распаковали.
Выводы
Это все, что вам нужно знать про то как выполняется установка PyCharm Ubuntu 20.04. Если у вас остались вопросы, спрашивайте в комментариях!
Похожие записи
Оцените статью
alt=»Creative Commons License» width=»» />
Статья распространяется под лицензией Creative Commons ShareAlike 4.0 при копировании материала ссылка на источник обязательна .
Об авторе
Основатель и администратор сайта losst.ru, увлекаюсь открытым программным обеспечением и операционной системой Linux. В качестве основной ОС сейчас использую Ubuntu. Кроме Linux, интересуюсь всем, что связано с информационными технологиями и современной наукой.
7 комментариев к “Установка PyCharm в Ubuntu”
А как установить PyCharm Edu.
При установке через юмейк выдает «не найдено абсолютно доверенных ключей!
про то, что для работы pycharm требуется java, вы не написали. испробовал несколько способов, приложение или не устанавливалось, или устанавливалось и выдавало разные ошибки. в итоге скачал с оф.сайта архив, java из repository ppa:webupd8team/java и только после этого pycharm заработал. кстати про установку java у вас есть статья. спасибо за неё!
Установил Pycharm через umake . Столкнулся с такой проблемой — установленная программа не отображается в меню приложений. Как это исправить?
У меня Debian, MATE.
Я создал файл Pycharm.desktop в директории
/.local/share/applications/ со следующим содержимым:
Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=PyCharm
Comment=IDE for Python
Exec=/home/alex/bin/pycharm-community-2020.2.1/bin/pycharm.sh
Icon=/home/alex/bin/pycharm-community-2020.2.1/bin/pycharm.svg
Terminal=false
Type=Application
#Categories=Utility;Application;
Categories=Development;Application;
Разумеется, вам нужно будет поправить этот файл — в параметрах Exec и Icon вместо alex напишите имя своей учётной записи.
После сохранения файла в главном меню Приложения — Программирование появится пункт PyCharm c соответствующей иконкой.