How to install pycharm ubuntu
How to install pycharm ubuntu
Установка PyCharm в Ubuntu
Все рассмотрено очень подробно, поэтому проблем с установкой возникнуть не должно. Но сначала давайте рассмотрим отличительные особенности этой IDE.
Особенности PyCharm
Среда разработки программного обеспечения на языке Python имеет такие особенности:
Отличия между профессиональной платной версией и бесплатной вы можете посмотреть на официальной странице.
Установка PyCharm Ubuntu
1. Пакетный менеджер snap
С современных версиях Ubuntu, в том числе в Ubuntu 20.04 можно установить PyCharm с помощью пакетного менеджера snap. Для установки профессиональной версии выполните:
А для установки редакции community:
Есть ещё версия для образовательных учреждений, для её установки выполните:
После завершения установки программа будет доступна в главном меню.
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. Если у вас остались вопросы, спрашивайте в комментариях!
3 способа установить PyCharm в Linux Ubuntu
PyCharm — это популярная IDE (интегрированная среда разработки) для языка Python. В ней есть графический отладчик, анализатор кода, встроенный тестировщик, а также интеграция с системами контроля версий. PyCharm поддерживает веб-разработку на Django. В нем есть кроссплатформенные функции для Linux, Windows и macOS.
Основные особенности
Как установить на Ubuntu
Способ №1
Можно воспользоваться центром приложений Ubuntu. Установка через него происходит в формате пакетов Snap.
Или использовать следующую команду в командной строек:
Как удалить PyCharm
Можно удалить приложение прямо из центра приложений Ubuntu или использовать следующую команду:
Способ №2 — установка с помощью umake
Umake — это отличный инструмент командной строки, который помогает разработчикам устанавливать важные IDE. IDE — один из встроенных инструментов разработки в umake. Для установки PyCharm с помощью umake нужно, чтобы он был установлен в системе. Обычно он доступен по умолчанию, но если его нет, используйте следующую команду для установки umake с помощью PPA:
После этого установите PyCharm Community Edition:
Для PyCharm Professioanl воспользуйтесь следующей командой:
Удаление
Способ №3 — установка в Ubuntu и Linux Mint с помощью PPA
Теперь о том, как установить PyCharm в Ubuntu или другие ОС, основанные на Linux, с помощью неофициальных PPA. Прежде всего нужно убедиться, что в системе есть Java.
Добавьте неофициальные PPA:
Установите Community Edition:
Или Professional Edition:
Удаление
Удалите Community Edition:
Или Professioanl Edition:
Удалите PPA из списка источников:
Примечание: упомянутые здесь функции не являются всеобъемлющими. Они основаны либо на инструкциях с официальных сайтов, либо на личном опыте.
Install PyCharm
PyCharm is a cross-platform IDE that provides consistent experience on the Windows, macOS, and Linux operating systems.
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
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 11).
Python 2: version 2.7
Python 3: from the version 3.6 up to the version 3.11
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
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.
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
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.
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
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.
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.
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.
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
Unpack the pycharm-*.tar.gz file to a different folder, if your current Download folder doesn’t support file execution:
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.
Install using snap packages
For Ubuntu 16.04 and later, you can use snap packages to install PyCharm.
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 edge channel includes EAP builds. To install the latest EAP build of PyCharm, run the following command:
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
The default silent configuration file is unique for each JetBrains product. You can modify it to enable or disable various installation options as necessary.
See more details on installing PyCharm in the video tutorial:
How to Install PyCharm on Ubuntu 22.04
PyCharm is a top-notch programming IDE used by programmers to program Python codes. Besides having the ability to run different high-level codes, it also features code debugging and has proven successful in developing multiple web applications.
In this guide, we will guide you how you can install PyCharm both editions on Ubuntu 22.04.
Installing PyCharm on Ubuntu 22.04
There are three different editions of PyCharm on Ubuntu 22.04. To install a specific edition, you will require various commands that might become very easy if you install them through Snap Store. The installation detail of each method is given below.
Installing PyCharm Professional Edition on Ubuntu 22.04
The PyCharm Professional Edition provides you with a 30-days free trial, and after then, you will need to purchase its professional edition. With this addition, you will get different advanced features like remote development capabilities, python web framework, database support and much more.
If you don’t have a problem buying the professional edition, you can then install this edition from Snap Store using the following command.
Once the installation is successful, you can then open the PyCharm Professional Edition from the application search on Ubuntu 22.04.
Then use the following steps to setup the PyCharm:
Step 1: Accept the user agreement by checkbox the highlighted option and then click on the “Continue” button.
Step 2: This step is optional you can pick the one according to your choice. Here, we select “Don’t send”.
After this step, the PyCharm Professional screen will appear.
Step 3: Now, in this step, checkbox the highlighted option and click on the “Trust Project” button to trust the Ubuntu source.
Step 4: Now, this step requires the activation license key. If you want to purchase the license, you can click on the “JB Account” option. If you already have Activation code then go with the “Activation Code” option.
We are leaving this step entirely up to you. You can choose the 30-day trial version by selecting the “Start trial” option, create an account on JetBrains and then click on the “Exit” button to complete the process.
Now, you can use the PyCharm Professional Edition on a 30-day trial, after which you will need to purchase it for later use.
Removing PyCharm Professional Edition from Snap Store
To remove PyCharm Professional Edition from Snap Store, use the following command.
Installing PyCharm Community Edition on Ubuntu 22.04
If you want to use the free PyCharm Community Edition, you can install it from the Snap Store using the following command.
Once the installation completes, open the PyCharm Community on Ubuntu 22.04 through the application search bar.
Accept the PyCharm license agreement by following the highlighted guidelines in the below image.
This runs the PyCharm Community Edition on desktop.
Removing PyCharm Community Edition from Snap Store
To remove PyCharm Community Edition from Ubuntu 22.04, use the following command.
Installing PyCharm Educational Edition on Ubuntu 22.04
If you want to teach people programming skills, you can pick PyCharm Educational Edition which is quite helpful for the beginners to learn coding from scratch. To install it on Ubuntu 22.04, you can use the following snap installation command.
Run the PyCharm Educational Edition from the application search bar.
Confirms the license agreement.
This will run the IDE on the desktop.
Removing PyCharm Educational Edition from Snap Store
The removal of PyCharm Educational Edition is successful once you run the following command.
Conclusion
PyCharm is an excellent platform to program and debug Python codes. It allows you to master the Python language and become a professional programmer. There are multiple editions of PyCharm and if you are eagerly interested in beginning your professional journey, you should pick the one and install it on Ubuntu 22.04 through the snap store using the above guidelines.
About the author
Awais Khan
I’m an Engineer and an academic researcher by profession. My interest for Raspberry Pi, embedded systems and blogging has brought me here to share my knowledge with others.
How to Install Python IDE PyCharm in Ubuntu and Other Linux Distributions
A quick tutorial to show you how to install PyCharm in Ubuntu and other Linux Distributions.
PyCharm is an IDE for Python development and has been considered as one of the best Python IDE by the experts.
The IDE comes in professional and community edition. The community edition is free of cost, but professional edition has more features.
The full list of features can be found here. You can read this comparison between professional and community edition to decide which version is suitable for you.
The installation steps are pretty much the same for all PyCharm editions.
Let’s have a look at the features of PyCharm IDE:
Method 1: Install PyCharm in Ubuntu and other Linux using Snap [Easy]
Good news is that PyCharm is available in the Ubuntu Software Center as a Snap package. Which means that you can search for it in the software center and install it from there.
» data-medium-file=»https://itsfoss.com/wp-content/uploads/2015/08/pycharm-ubuntu-software-center-1-300×122.jpg» data-large-file=»https://itsfoss.com/wp-content/uploads/2015/08/pycharm-ubuntu-software-center-1.jpg» src=»https://itsfoss.com/wp-content/uploads/2015/08/pycharm-ubuntu-software-center.jpg» alt=»Install PyCharm in Ubuntu» data-lazy-src=»https://itsfoss.com/wp-content/uploads/2015/08/pycharm-ubuntu-software-center.jpg?is-pending-load=1″ srcset=»data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7″> PyCharm is available in Ubuntu Software Center
If you are using some other Linux distribution, enable snap support first and then use the snap command to install the PyCharm Community Edition:
To remove PyCharm, you may use this command:
Note: Students with an academic email can request access to PyCharm Professional Edition for free! This also applies to developers working on Open Source projects which are non-commercial. More information on other initiatives for free access and discounts can be found here.
Method 2: Install PyCharm in Linux using official Linux installer from JetBrains [Intermediate level]
If you do not like Snap packages, there are other ways to install PyCharm. PyCharm provides an installer for Linux and I am going to show you how to use it.
Go to PyCharms Download page and download the tar.gz files for either of the Professional or Community version. I am using Community version in the tutorial.
Follow these commands one by one but do keep in mind that you may have to replace “pycharm-community-2020.1.1.tar.gz” and “pycharm-community-2020.1.1” with the file and folder name of your download.
Go to Downloads where you have downloaded the PyCharm:
Now extract the tar gz file using the tar command in this way:
Now enter the extracted PyCharm folder:
Go to its bin folder:
You’ll find a shell script here. Make sure that you have execute permission:
Now run this shell script:
PyCharm starts running now. In the first run, it will ask you to accept privacy policy:
Then JetBrains will ask whether you would like to send data about features, plugins, and other data. If you wish to send the data, you can hit the “Send Anonymous Statistics” button, or you can click on the “Don’t Send” button.
Now, PyCharm will ask you to set up the IDE. So simply start by choosing the UI theme, creating a launcher script, and adding plugins.
Once the installation is completed, you will get to see a screen like the one below:
It will be a good idea to create desktop entry so that you can search for PyCharm in the system menu and start it from there.
Now click on the Configure option and click on “Create Desktop Entry”.
On the next screen, you will be asked if you wish to create the entry for all users or not. Set the settings according to your preference and click on the OK button.
Now, you’ll be able to search for PyCharm like any other Linux application.
Enjoy PyCharm in Linux.
Ubuntu provide a wonderful command line tool, umake for developers. umake lets you easily install a number of development tools in Ubuntu such as Android Studio, Visual Studio Code, Ubuntu SDK, Eclipse, Arudino Software Distribution etc. PyCharm is also one of the development tools included in the umake.
To install PyCharm using umake, you need to have umake first. Normally, it should already be installed in your system, get the latest stable version of umake:
Once you have umake, use the command below to install PyCharm Community Edition in Ubuntu:
To install PyCharm Professional Edition (you need license for this), you can use the command below:
To remove PyCharm installed via umake, use the command below:
We’ll be using an unofficial PPA to easily install PyCharm in Ubuntu. I am using Ubuntu 15.04 but this PPA is also available for Ubuntu 14.04. You can use the same method to install PyCharm in Linux Mint 17, elementary OS Freya and other Ubuntu based Linux distributions. PyCharm uses Java so make sure to install Java in Ubuntu beforehand.
Open a terminal and use the following commands:
To install the community edition of PyCharm, use the command below. It will download data of around 120 MB.
To install the professional edition of PyCharm, use the command below. It will download data of around 160 MB.
Once installed, go to Unity Dash and search for PyCharm and you should be able to see it running. This is what it looked like on my Ubuntu 15.04:
That’s all you need to do. I hope this tutorial helped you to install PyCharm in Ubuntu and other Linux distributions. Any questions or suggestions are always welcomed.
Creator of It’s FOSS. An ardent Linux user & open source promoter. Huge fan of classic detective mysteries ranging from Agatha Christie and Sherlock Holmes to Detective Columbo & Ellery Queen. Also a movie buff with a soft corner for film noir.