{"id":22442,"date":"2024-05-05T18:50:09","date_gmt":"2024-05-05T15:50:09","guid":{"rendered":"https:\/\/kifarunix.com\/?p=22442"},"modified":"2024-05-05T18:50:13","modified_gmt":"2024-05-05T15:50:13","slug":"quick-ways-to-install-pycharm-ide-on-ubuntu-24-04","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/quick-ways-to-install-pycharm-ide-on-ubuntu-24-04\/","title":{"rendered":"Quick ways to Install PyCharm IDE on Ubuntu 24.04"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1047\" height=\"584\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/05\/install-pycharm-ubuntu.png?v=1714923698\" alt=\"\" class=\"wp-image-22453\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/05\/install-pycharm-ubuntu.png?v=1714923698 1047w, https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/05\/install-pycharm-ubuntu-768x428.png?v=1714923698 768w\" sizes=\"(max-width: 1047px) 100vw, 1047px\" \/><\/figure><\/div>\n\n\n<p>In this tutorial, you will learn 3 quick ways to easily install PyCharm IDE on Ubuntu 24.04. <a href=\"https:\/\/www.jetbrains.com\/pycharm\/\" target=\"_blank\" rel=\"noreferrer noopener\">PyCharm<\/a> is an Integrated Development Environment (IDE) developed specifically for Python programming. It provides a wide range of features to support Python development including code editor, code debugger, version control integration with other tools such as Git, code analysis, web development, support for other code testing frameworks, among other features. Read more on the <a href=\"https:\/\/www.jetbrains.com\/pycharm\/features\/\" target=\"_blank\" rel=\"noreferrer noopener\">features page<\/a>.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#installing-py-charm-ide-on-ubuntu-24-04\">Installing PyCharm IDE on Ubuntu 24.04<\/a><ul><li><a href=\"#system-requirements-for-installing-py-charm\">System Requirements for Installing PyCharm<\/a><\/li><li><a href=\"#installing-py-charm-from-snap-store\">Installing PyCharm from Snap Store<\/a><\/li><li><a href=\"#install-py-charm-from-flathub\">Install PyCharm from Flathub<\/a><\/li><li><a href=\"#install-py-charm-using-tarball\">Install PyCharm using Tarball<\/a><\/li><li><a href=\"#running-py-charm-on-ubuntu-24-04\">Running PyCharm on Ubuntu 24.04<\/a><\/li><li><a href=\"#create-desktop-launcher-for-py-charm-installed-via-tarball-method\">Create Desktop Launcher for PyCharm Installed via Tarball Method<\/a><\/li><\/ul><\/li><li><a href=\"#uninstall-py-charm-from-ubuntu\">Uninstall PyCharm from Ubuntu?<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"installing-py-charm-ide-on-ubuntu-24-04\">Installing PyCharm IDE on Ubuntu 24.04<\/h2>\n\n\n\n<p>There are various ways in which PyCharm IDE can be installed on an Ubuntu system. These include;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Install PyCharm from Snap store<\/li>\n\n\n\n<li>Install PyCharm from Flathub<\/li>\n\n\n\n<li>Install PyCharm using PyCharm Tarball<\/li>\n<\/ol>\n\n\n\n<p>Also, there are two versions of PyCharm; A professional version which is paid, and a free community version. We will be installing the community version in this guide.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"system-requirements-for-installing-py-charm\">System Requirements for Installing PyCharm<\/h3>\n\n\n\n<p>To smoothly run PyCharm, you need to have;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>At least 2 GB of free RAM (8 GB recommended)<\/li>\n\n\n\n<li>Multi-core CPU<\/li>\n\n\n\n<li>At least 3.5 GB of free Disk space<\/li>\n\n\n\n<li>Python:\n<ul class=\"wp-block-list\">\n<li>Python 2.7 or<\/li>\n\n\n\n<li>Python 3.6 and higher versions<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"installing-py-charm-from-snap-store\">Installing PyCharm from Snap Store<\/h3>\n\n\n\n<p>To install PyCharm from Snap store, you need to have Snap installed. Luckily, Ubuntu 24.04 ships with Snap pre-installed and ready for use. Therefore, you can install PyCharm from Snap store using the command below;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo snap install pycharm-community --classic<\/code><\/pre>\n\n\n\n<p>The <strong>&#8211;classic<\/strong> option disables Snap security confinement allow it to access the entire file system and run with full privileges, similar to traditional packages installed from a package repository.<\/p>\n\n\n\n<p>You can also install pre-release version if you need it;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo snap install pycharm-community --classic --edge<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install-py-charm-from-flathub\">Install PyCharm from Flathub<\/h3>\n\n\n\n<p>To install PyCharm from Flathub, you need to have Flatpak package manager as well as Flathub repository installed and setup. You can learn how to install and setup Flatpak and Flathub repository on Ubuntu 24.04 by following the guide below;<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/how-to-install-and-use-flatpak-on-ubuntu-24-04\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Install and Use Flatpak on Ubuntu 24.04<\/a><\/p>\n\n\n\n<p>Once you have Flatpak and Flathub repo setup, then install PyCharm.<\/p>\n\n\n\n<p>Get the PyCharm Flatpak application ID;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo flatpak search pycharm<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>Name                       Description                          Application ID                                  Version       Branch      Remotes\nPyCharm-Professional       The most intelligent Python IDE      com.jetbrains.PyCharm-Professional              2024.1.1      stable      flathub\nPyCharm-Community          The most intelligent Python IDE      com.jetbrains.PyCharm-Community                 2024.1.1      stable      flathub\nPython 2.7                 Extension for PyCharm                com.jetbrains.PyCharm.Extensions.Python2-7      2.7.18        20.08       flathub\n<\/code><\/pre>\n\n\n\n<p>The Flatpak Application ID for PyCharm community edition is, <strong>com.jetbrains.PyCharm-Community<\/strong>.<\/p>\n\n\n\n<p>You can install it by running the command;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo flatpak install com.jetbrains.PyCharm-Community<\/code><\/pre>\n\n\n\n<p>Sample installation output;<\/p>\n\n\n\n<pre class=\"scroll-box\"><code>Looking for matches\u2026\nRequired runtime for com.jetbrains.PyCharm-Community\/x86_64\/stable (runtime\/org.freedesktop.Sdk\/x86_64\/23.08) found in remote flathub\nDo you want to install it? [Y\/n]: y\n\ncom.jetbrains.PyCharm-Community permissions:\n    ipc                   network       pulseaudio       session-bus       x11      devices      file access [1]\n    dbus access [2]\n\n    [1] host, xdg-run\/keyring\n    [2] org.freedesktop.Notifications, org.freedesktop.secrets\n\n\n        ID                                             Branch                 Op            Remote             Download\n 1. [\/] org.freedesktop.Platform.GL.default            23.08                  i             flathub                1.0\u00a0kB \/ 164.6\u00a0MB\n 2. [ ] org.freedesktop.Platform.GL.default            23.08-extra            i             flathub            < 164.6\u00a0MB\n 3. [ ] org.freedesktop.Platform.openh264              2.2.0                  i             flathub            < 944.3\u00a0kB\n 4. [ ] org.freedesktop.Sdk.Locale                     23.08                  i             flathub            < 366.1\u00a0MB (partial)\n 5. [ ] org.freedesktop.Sdk                            23.08                  i             flathub            < 559.8\u00a0MB\n 6. [ ] com.jetbrains.PyCharm-Community                stable                 i             flathub            < 670.3\u00a0MB\n\nInstalling 6\/6\u2026 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 100%  65.0\u00a0MB\/s  00:00\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install-py-charm-using-tarball\">Install PyCharm using Tarball<\/h3>\n\n\n\n<p>Similarly, you can download PyCharm source code from the <a href=\"https:\/\/www.jetbrains.com\/pycharm\/download\/download-thanks.html?platform=linux&amp;code=PCC\" target=\"_blank\" rel=\"noreferrer noopener\">downloads page<\/a> and install it.<\/p>\n\n\n\n<p>Simply get the download link and pull it down using <strong>wget<\/strong> or <strong>curl<\/strong> command<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/download.jetbrains.com\/python\/pycharm-community-2024.1.1.tar.gz<\/code><\/pre>\n\n\n\n<p>Extract and Install it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir pycharm-ce<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>tar xzf pycharm-community-2024.1.1.tar.gz --strip-components=1 -C pycharm-ce<\/code><\/pre>\n\n\n\n<p>You can now run PyCharm;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pycharm-ce\/bin\/pycharm.sh<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"running-py-charm-on-ubuntu-24-04\">Running PyCharm on Ubuntu 24.04<\/h3>\n\n\n\n<p>Depending on you installed PyCharm, be it from Snap store or Flathub, should be able to launch it from the applications menu or command line.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1237\" height=\"466\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/05\/launch-pycharm-ubuntu-24.04.png?v=1714923440\" alt=\"\" class=\"wp-image-22451\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/05\/launch-pycharm-ubuntu-24.04.png?v=1714923440 1237w, https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/05\/launch-pycharm-ubuntu-24.04-768x289.png?v=1714923440 768w\" sizes=\"(max-width: 1237px) 100vw, 1237px\" \/><\/figure>\n\n\n\n<p>If you cannot see the app on the applications menu, log out and log back and check again.<\/p>\n\n\n\n<p>To launch from command line, this depends on how you installed it.<\/p>\n\n\n\n<p>If using Flatpak;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>flatpak run com.jetbrains.PyCharm-Community<\/code><\/pre>\n\n\n\n<p>If using Snap;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>snap run pycharm-community<\/code><\/pre>\n\n\n\n<p>If using Tarball, simply run the executable script;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>~\/path\/to\/bin\/pycharm.sh<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"create-desktop-launcher-for-py-charm-installed-via-tarball-method\">Create Desktop Launcher for PyCharm Installed via Tarball Method<\/h3>\n\n\n\n<p>You can also create a desktop launcher to make PyCharm installed via tarball to be easily run.<\/p>\n\n\n\n<p>Therefore, navigate to the source directory and launch PyCharm;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd ~\/pycharm-ce\/<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>bin\/pycharm.sh<\/code><\/pre>\n\n\n\n<p>When lauched, open the settings by clicking the icon shown in the screenshot below;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1028\" height=\"772\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/05\/pycharm-settings.png?v=1714922970\" alt=\"\" class=\"wp-image-22448\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/05\/pycharm-settings.png?v=1714922970 1028w, https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/05\/pycharm-settings-768x577.png?v=1714922970 768w\" sizes=\"(max-width: 1028px) 100vw, 1028px\" \/><\/figure>\n\n\n\n<p>The click, <strong>Create Destkop Entry...<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1021\" height=\"782\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/05\/create-pycharm-desktop-entry.png?v=1714923066\" alt=\"\" class=\"wp-image-22449\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/05\/create-pycharm-desktop-entry.png?v=1714923066 1021w, https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/05\/create-pycharm-desktop-entry-768x588.png?v=1714923066 768w\" sizes=\"(max-width: 1021px) 100vw, 1021px\" \/><\/figure>\n\n\n\n<p>You will be prompted whether you need the launcher for everyone else or just you. Make appropriate choice and proceed.<\/p>\n\n\n\n<p>You will then see a notification that the desktop entry has been created. You can exit the PyCharm launched from the terminal and search from the applications menu.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1042\" height=\"788\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/05\/pycharm-desktop-entry-ubuntu-24.04.png?v=1714923229\" alt=\"\" class=\"wp-image-22450\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/05\/pycharm-desktop-entry-ubuntu-24.04.png?v=1714923229 1042w, https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/05\/pycharm-desktop-entry-ubuntu-24.04-768x581.png?v=1714923229 768w\" sizes=\"(max-width: 1042px) 100vw, 1042px\" \/><\/figure>\n\n\n\n<p>What this basically does it, it creates a .desktop application file under <strong>~\/.local\/share\/applications<\/strong> (if you chose to create an entry just for you) with the contents below;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cat .local\/share\/applications\/jetbrains-pycharm-ce.desktop<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>[Desktop Entry]\nVersion=1.0\nType=Application\nName=PyCharm Community Edition\nIcon=\/home\/kifarunix\/pycharm-ce\/bin\/pycharm.svg\nExec=\"\/home\/kifarunix\/pycharm-ce\/bin\/pycharm.sh\" %f\nComment=Python IDE for Professional Developers\nCategories=Development;IDE;\nTerminal=false\nStartupWMClass=jetbrains-pycharm-ce\nStartupNotify=true\n<\/code><\/pre>\n\n\n\n<p>And that is it!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"uninstall-py-charm-from-ubuntu\">Uninstall PyCharm from Ubuntu?<\/h2>\n\n\n\n<p>If for some reason you need to uninstall PyCharm, then uninstall methods depends on the installation method used.<\/p>\n\n\n\n<p>Uninstall PyCharm snap;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo snap remove pycharm-community<\/code><\/pre>\n\n\n\n<p>Uninstall PyCharm Flatpak;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo flatpak uninstall com.jetbrains.PyCharm-Community<\/code><\/pre>\n\n\n\n<p>Uninstall PyCharm installed via Tarball. Simply remove the source directory and desktop file.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rm -rf ~\/pycharm-ce ~\/.local\/share\/applications\/jetbrains-pycharm-ce.desktop<\/code><\/pre>\n\n\n\n<p>That is all it takes to install PyCharm IDE on Ubuntu.<\/p>\n\n\n\n<p>Read more on <a href=\"https:\/\/www.jetbrains.com\/help\/pycharm\/configuring-project-and-ide-settings.html\" target=\"_blank\" rel=\"noreferrer noopener\">configuring PyCharm on the getting started guide<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, you will learn 3 quick ways to easily install PyCharm IDE on Ubuntu 24.04. PyCharm is an Integrated Development Environment (IDE) developed<\/p>\n","protected":false},"author":10,"featured_media":22453,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121],"tags":[7481,7482,7396],"class_list":["post-22442","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-pycharm","tag-python-ide","tag-ubuntu-24-04","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/22442"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=22442"}],"version-history":[{"count":7,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/22442\/revisions"}],"predecessor-version":[{"id":22455,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/22442\/revisions\/22455"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/22453"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=22442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=22442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=22442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}