{"id":14685,"date":"2022-02-02T06:25:22","date_gmt":"2022-02-02T06:25:22","guid":{"rendered":"https:\/\/linuxways.net\/?p=14685"},"modified":"2022-02-02T06:25:22","modified_gmt":"2022-02-02T06:25:22","slug":"how-to-install-pycharm-on-debian-11","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/debian\/how-to-install-pycharm-on-debian-11\/","title":{"rendered":"How to Install Pycharm on Debian 11"},"content":{"rendered":"<p>Developed by JetBrains, the same company behind IntelliJ IDEA, <a href=\"https:\/\/www.jetbrains.com\/pycharm\/\">Pycharm <\/a>is one of the most widely used IDE ( Integrated Development Environment) for developing Python applications. It\u2019s a feature-rich IDE that comes packed with all the features you need for writing and debugging your Python code. It creates a virtual environment that you can use to run code.<\/p>\n<p>Pycharm is available in 3 editions: Community, Education, and Professional. The Community Edition is absolutely free and opensource and constantly maintained by developers. The Education Edition provides a much simpler UI and is based on Community Edition. The professional Edition is a paid Edition and provides extensive functionalities such as support for more languages, and additional tools for web and database development.<\/p>\n<p>In this guide, we will focus on the installation of Pycharm on Debian 11.<\/p>\n<h2><strong>Option 1: Install Pycharm using snap<\/strong><\/h2>\n<p>One of the easiest ways of installing Pycharm is using Snap. Snap is a software packaging and deployment tool developed by Canonical &#8211; the parent Company of Ubuntu.<\/p>\n<p>A snap is a containerized application that bundles the application code alongside its dependencies, libraries, source code, and configuration files. Snaps are distribution agnostic and work across multiple various distributions. The main advantage of using snaps is that dependencies are well-taken care of, As such, you won&#8217;t have to worry about running into dependency errors during the installation of an application. Snaps are hosted in <a href=\"https:\/\/snapcraft.io\/store\">Snapcraft <\/a>which is a snap store that contains thousands of snap packages.<\/p>\n<p>To get underway, we need to install and enable Snapd daemon before anything else. This is a service that allows you to manage snaps on your system. Then later, we will use snap to install the Pycharm application.<\/p>\n<p>First, update the package lists<\/p>\n<pre><strong>$ sudo apt update<\/strong><\/pre>\n<p>Then install snapd as follows:<\/p>\n<pre><strong>$ sudo apt install snapd<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"739\" height=\"315\" class=\"wp-image-14686\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-9.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-9.png 739w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-9-300x128.png 300w\" sizes=\"auto, (max-width: 739px) 100vw, 739px\" \/><\/strong><\/p>\n<p>Once installed, Enable the snapd daemon.<\/p>\n<pre><strong>$ sudo systemctl enable snapd \u2014-now<\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"740\" height=\"140\" class=\"wp-image-14687\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-10.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-10.png 740w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-10-300x57.png 300w\" sizes=\"auto, (max-width: 740px) 100vw, 740px\" \/><\/p>\n<p>It\u2019s advisable to enable classic snap support which might be needed by packages that might need to be unconfined from the snap bundled application and acquire full system access just like other traditional packages. To enable classic snap support, run the command:<\/p>\n<pre><strong>$ sudo ln -s \/var\/lib\/snapd\/ \/snap<\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"733\" height=\"123\" class=\"wp-image-14688\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-11.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-11.png 733w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-11-300x50.png 300w\" sizes=\"auto, (max-width: 733px) 100vw, 733px\" \/><\/p>\n<p>Additionally, install core files.<\/p>\n<pre><strong>$ sudo snap install core<\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"736\" height=\"157\" class=\"wp-image-14689\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-12.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-12.png 736w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-12-300x64.png 300w\" sizes=\"auto, (max-width: 736px) 100vw, 736px\" \/><\/p>\n<p>Next, restart snapd daemon.<\/p>\n<pre><strong>$ sudo systemctl restart snapd<\/strong><\/pre>\n<p>Then verify its status as follows.<\/p>\n<pre><strong>$ sudo systemctl status snapd<\/strong><\/pre>\n<p>From the output, you can see that snapd is active and running.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"737\" height=\"328\" class=\"wp-image-14690\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-13.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-13.png 737w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-13-300x134.png 300w\" sizes=\"auto, (max-width: 737px) 100vw, 737px\" \/><\/p>\n<p>The next step is to install Pycharm from Snap. There are three editions of Pycharm: Community, Educational and Professional.<\/p>\n<p>For this guide, we will install the Community Edition which is free and opensources. Therefore, run:<\/p>\n<pre><strong>$ sudo snap install pycharm-community --classic<\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"748\" height=\"181\" class=\"wp-image-14691\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-14.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-14.png 748w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-14-300x73.png 300w\" sizes=\"auto, (max-width: 748px) 100vw, 748px\" \/><\/p>\n<p>Once the installation is complete you will get the following output.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"748\" height=\"147\" class=\"wp-image-14692\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-15.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-15.png 748w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-15-300x59.png 300w\" sizes=\"auto, (max-width: 748px) 100vw, 748px\" \/><\/p>\n<p>For the Education edition, run the command:<\/p>\n<pre><strong>$ sudo snap install pycharm-professional --classic<\/strong><\/pre>\n<p>For the Professional edition, execute the command:<\/p>\n<pre><strong>$ sudo snap install pycharm-educational --classic<\/strong><\/pre>\n<p>At this point, Pycharm is successfully installed. However, the Pycharm icon will not be available until the next reboot. Therefore, reboot your system.<\/p>\n<pre><strong>$ sudo reboot<\/strong><\/pre>\n<p><strong>NOTE:<\/strong><\/p>\n<p>While snaps are a convenient way of installing software applications, they take up considerable amounts of disk space compared to installing software packages from official repositories using traditional package managers such as APT and DNF. However, the trade-off is regular updates and constantly maintained packages.<\/p>\n<p>You can update all snap packages in the future using the simple command:<\/p>\n<pre><strong>$ sudo snap refresh<\/strong><\/pre>\n<h2><strong>Option 2: Install Pycharm from Flatpak<\/strong><\/h2>\n<p>The second option is installing Pycharm from Flatpak. This is yet another universal package management utility that allows you to install and manage software packages without having to worry about dependencies. Like snap, it is distribution agnostic and lets you install software packages without having to worry about your Linux distribution. Flatpak applications run in isolation in an environment known as a sandbox that contains all that is required to run the specific application.<\/p>\n<p>To use Flatpak, you must , first of all , install and enable Flatpak on your system. Therefore, we will begin by installing Flatpak as follows:<\/p>\n<pre><strong>$ sudo apt install flatpak<\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"734\" height=\"322\" class=\"wp-image-14693\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-16.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-16.png 734w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-16-300x132.png 300w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/p>\n<p>Once installed, proceed and enable the Flatpak repository from <a href=\"https:\/\/flathub.org\/\">Flathub <\/a>which is a Flatpak App Store for Flatpak applications.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"733\" height=\"164\" class=\"wp-image-14694\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-17.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-17.png 733w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-17-300x67.png 300w\" sizes=\"auto, (max-width: 733px) 100vw, 733px\" \/><\/p>\n<p>Flatpak only provides Community and Educational Editions. But as always, the Community edition is always recommended especially for beginners.<\/p>\n<p>To install the Community Edition execute the command:<\/p>\n<pre><strong>$ sudo flatpak install flathub com.jetbrains.PyCharm-Community<\/strong><\/pre>\n<p>For Professional Edition run the following command:<\/p>\n<pre><strong>$ sudo flatpak install flathub com.jetbrains.PyCharm-Professional<\/strong><\/pre>\n<p>Here is some sample output. BE sure to press \u2018Y\u2019 for all the prompts.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"756\" height=\"486\" class=\"wp-image-14695\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-18.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-18.png 756w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-18-300x193.png 300w\" sizes=\"auto, (max-width: 756px) 100vw, 756px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"761\" height=\"237\" class=\"wp-image-14696\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-19.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-19.png 761w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-19-300x93.png 300w\" sizes=\"auto, (max-width: 761px) 100vw, 761px\" \/><\/p>\n<h2><strong>Launching Pycharm<\/strong><\/h2>\n<p>To launch Pycharm, click on \u2018Activities\u2019 at the top left corner of your desktop and search for \u2018Pycharm\u2019. Click on the icon to launch Pycharm.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"569\" height=\"332\" class=\"wp-image-14697\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-20.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-20.png 569w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-20-300x175.png 300w\" sizes=\"auto, (max-width: 569px) 100vw, 569px\" \/><\/p>\n<p>After a few seconds, you will get a pop-up GUI as shown. Accept the User Agreement Terms and click <strong>\u2018Continue<\/strong>\u2019 to proceed with the installation.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"609\" height=\"469\" class=\"wp-image-14698\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-21.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-21.png 609w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-21-300x231.png 300w\" sizes=\"auto, (max-width: 609px) 100vw, 609px\" \/><\/p>\n<p>Next, make a choice whether or not you want to anonymously share your application\u2019s data about features, plugins performance, etc with Pycharm developers.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"608\" height=\"472\" class=\"wp-image-14699\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-22.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-22.png 608w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-22-300x233.png 300w\" sizes=\"auto, (max-width: 608px) 100vw, 608px\" \/><\/p>\n<p>And finally, you will get the default Pycharm window. Click on \u2018<strong>Start Tour<\/strong>\u2019 to acquaint yourself with the various Pycharm features that you will soon start interacting with..<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"803\" height=\"604\" class=\"wp-image-14700\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-23.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-23.png 803w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-23-300x226.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-23-768x578.png 768w\" sizes=\"auto, (max-width: 803px) 100vw, 803px\" \/><\/p>\n<p>Bravo! You have successfully installed Pycharm on Debian 11 BullsEye.<\/p>","protected":false},"excerpt":{"rendered":"<p>Developed by JetBrains, the same company behind IntelliJ IDEA, Pycharm is one of the most widely used IDE ( Integrated Development Environment) for developing Python applications. It\u2019s a&hellip;<\/p>","protected":false},"author":1,"featured_media":14791,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[521,223],"class_list":["post-14685","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","tag-debian-11","tag-pycharm"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/14685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=14685"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/14685\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/14791"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=14685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=14685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=14685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}