{"id":44322,"date":"2023-09-08T11:59:35","date_gmt":"2023-09-08T11:59:35","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=44322"},"modified":"2025-12-09T12:09:12","modified_gmt":"2025-12-09T12:09:12","slug":"install-pycharm-2023-x-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2023\/09\/install-pycharm-2023-x-ubuntu-22-04\/","title":{"rendered":"How to Install PyCharm (2025.3 Updated) in Ubuntu 22.04 &#038; 24.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/pycharm-logo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-38760\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/pycharm-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/pycharm-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/pycharm-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/pycharm-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/pycharm-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/pycharm-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>This simple tutorial shows how to install the latest PyCharm IDE (2025.3 updated) in Ubuntu 22.04, and Ubuntu 24.04.<\/p>\n<p>The PyCharm Python IDE <a href=\"https:\/\/blog.jetbrains.com\/pycharm\/2025\/12\/pycharm-2025-3-unified-ide-jupyter-notebooks-in-remote-development-uv-as-default-and-more\/\" target=\"_blank\" rel=\"noopener\">released version 2025.3<\/a> on December 9. The new release features:<\/p>\n<ul>\n<li>Unify Community and Professional Editions with single product.<\/li>\n<li>New default theme, and new welcome screen.<\/li>\n<li>Claude AI support.<\/li>\n<li>Use uv as default environment manager if available.<\/li>\n<li>New LSP tools, e.g., ty, Pyright, and Pyrefly.<\/li>\n<li>New dedicated Python Process Output tool window<\/li>\n<li>Support the asdf runtime version manager.<\/li>\n<li>Support for PEP 765 (Python 3.14+).<\/li>\n<\/ul>\n<p>The new release is available to install in Ubuntu via different ways. They include Snap, Flatpak, official tarball, and Ubuntu PPA. Choose either one that you prefer.<\/p>\n<h3>Method 1: Install PyCharm via Snap package<\/h3>\n<p>JetBrains provides official Linux package through both Snap and tarball. Which is super easy to install for Ubuntu users.<\/p>\n<p><b>The Snap package Features:<\/b><\/p>\n<ul>\n<li>Official package by JetBrains.<\/li>\n<li>Run in sandbox environment.<\/li>\n<li>amd64 (x86_64) and arm64 (aarch64) platforms support.<\/li>\n<\/ul>\n<p>For all current Ubuntu releases, just launch <b>Ubuntu Software<\/b> (or App Center), then search and install <code>pycharm<\/code>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50164\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/pycharm-253-snap-700x439.webp\" alt=\"\" width=\"610\" height=\"383\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/pycharm-253-snap-700x439.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/pycharm-253-snap-300x188.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/pycharm-253-snap-768x482.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/pycharm-253-snap.webp 1105w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>Or, run command below in a terminal window (Ctrl+Alt+T) instead to install the package:<\/p>\n<pre>snap install pycharm --classic<\/pre>\n<p>The snap package installs updates automatically. To manually check (and install if any) updates, use command:<\/p>\n<pre>snap refresh pycharm<\/pre>\n<h3>Method 2: Install PyCharm via Flatpak (Unofficial)<\/h3>\n<p>Another easy way to install PyCharm is using <a href=\"https:\/\/flathub.org\/en\/apps\/com.jetbrains.PyCharm-Professional\" target=\"_blank\" rel=\"noopener\">Flatpak package<\/a>. Which works in most Linux, though also run in sandbox environment.<\/p>\n<p><b>The Flatpak package Features:<\/b><\/p>\n<ul>\n<li>Community maintained.<\/li>\n<li>Run in sandbox environment.<\/li>\n<li>amd64 (x86_64) and arm64 (aarch64) support.<\/li>\n<\/ul>\n<p>Ubuntu users just need to press <b>Ctrl+Alt+T<\/b> on keyboard to open terminal. Then run the 2 commands below one by one to install the package.<\/p>\n<ul>\n<li>First, run command to install the Flatpak daemon:\n<pre>sudo apt install flatpak<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-39141\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-600x229.webp\" alt=\"\" width=\"600\" height=\"229\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-600x229.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-300x115.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-768x294.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy.webp 777w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/li>\n<li>Then, run the command below to install PyCharm as Flatpak:\n<pre>flatpak install https:\/\/dl.flathub.org\/repo\/appstream\/com.jetbrains.PyCharm-Professional.flatpakref<\/pre>\n<p><i>The <b>Community<\/b> version discontinued, instead it&#8217;s merged into an unified edition.<\/i><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50171\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/flatpak-pycharmpro-700x528.webp\" alt=\"\" width=\"610\" height=\"460\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/flatpak-pycharmpro-700x528.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/flatpak-pycharmpro-300x226.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/flatpak-pycharmpro.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/li>\n<\/ul>\n<p>If you&#8217;re first time installing app as Flatpak, log out and back in for the app icon visible in system app launcher.<\/p>\n<p>To update the Flatpak package, use command:<\/p>\n<pre>flatpak update com.jetbrains.PyCharm-Professional<\/pre>\n<h3>Method 3: Install PyCharm via Official Tarball<\/h3>\n<p>If you don&#8217;t like or have issue for the IDE running in sandbox, then use the official Linux tarball instead!<\/p>\n<p><b>The Linux Tarball Features:<\/b><\/p>\n<ul>\n<li>Official package by JetBrains.<\/li>\n<li>Portable, no installation required.<\/li>\n<li>amd64 (x86_64) and arm64 support.<\/li>\n<\/ul>\n<p><b>1.<\/b> First, go to the official download page via the link below:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/www.jetbrains.com\/pycharm\/download\/?section=linux\" target=\"_blank\" rel=\"noreferrer noopener\">Download PyCharm (tar.gz)<\/a><\/div>\n<\/div>\n<p>Then select download the &#8220;.tar.gz (Linux)&#8221; for AMD\/Intel, or &#8220;.tar.gz (Linux ARM64) for arm64 processors, e.g., snapdragon X series.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50159\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/download-pycharm-700x476.webp\" alt=\"\" width=\"610\" height=\"415\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/download-pycharm-700x476.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/download-pycharm-300x204.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/download-pycharm-768x523.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/download-pycharm.webp 1143w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p><b>2.<\/b> After downloaded the tarball, just extract and move the source folder to any location that you want for long time use.<\/p>\n<p>In my case, I created a &#8220;<b>MyApps<\/b>&#8221; folder in user home, and put PyCharm source folder into it as sub-directory.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50160\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mv-pycharm253-700x476.webp\" alt=\"\" width=\"610\" height=\"415\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mv-pycharm253-700x476.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mv-pycharm253-300x204.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mv-pycharm253-768x522.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mv-pycharm253.webp 978w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p><b>3.<\/b> Without installation, you can now go to the &#8216;<b>bin<\/b>&#8216; sub-folder, right-click on &#8220;<b>pycharm<\/b>&#8221; and select &#8220;<b>Run<\/b>&#8221; to launch the Python IDE.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50161\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/run-pycharm253bin-700x424.webp\" alt=\"\" width=\"610\" height=\"369\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/run-pycharm253bin-700x424.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/run-pycharm253bin-300x182.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/run-pycharm253bin-768x465.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/run-pycharm253bin.webp 949w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><br \/>\n<b>4. Create app shortcut, so to launch from start\/application menu<\/b>.<\/p>\n<p>First, <b>launch text editor<\/b> and create an empty document. Then, paste following lines.<\/p>\n<pre>[Desktop Entry]\r\nName=PyCharm 25.3\r\nExec=<b>\/path\/to\/pycharm-executable-file<\/b>\r\nIcon=<b>\/path\/to\/pycharm-icon-file<\/b>\r\nTerminal=false\r\nType=Application\r\nCategories=Application;Development;\r\nKeywords=ide;python;charm;\r\nStartupWMClass=jetbrains-pycharm<\/pre>\n<p>Here, <b>replace the values of &#8216;<code>Exec<\/code>&#8216; and &#8216;<code>Icon<\/code>&#8216;<\/b> according where you put the source folder. And, change &#8216;Name&#8217; value for Professional edition.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50163\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/pycharm253-desktop-700x398.webp\" alt=\"\" width=\"610\" height=\"347\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/pycharm253-desktop-700x398.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/pycharm253-desktop-300x171.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/pycharm253-desktop-768x437.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/pycharm253-desktop.webp 1053w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>Finally, save the document as (Ctrl+Shift+S) &#8216;<code>pycharm.desktop<\/code>&#8216; into <code>.local\/share\/applications<\/code> directory. Here, <code>.local<\/code> is hidden by default, press Ctrl+H to view\/hide in file\/folder chooser dialog.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/save-pycharm-desktop.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49424\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/save-pycharm-desktop-700x516.webp\" alt=\"\" width=\"610\" height=\"450\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/save-pycharm-desktop-700x516.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/save-pycharm-desktop-300x221.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/save-pycharm-desktop-768x566.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/save-pycharm-desktop.webp 935w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>If everything&#8217;s done correctly, you can then search for and launch PyCharm from app launcher or the overview screen depends on your DE a few moments later:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-50162\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/launch-pycharm253.webp\" alt=\"\" width=\"561\" height=\"282\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/launch-pycharm253.webp 561w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/launch-pycharm253-300x151.webp 300w\" sizes=\"auto, (max-width: 561px) 100vw, 561px\" \/><\/p>\n<h3>Method 4: Install PyCharm .deb package via unofficial Ubuntu PPA<\/h3>\n<p>Another choice to avoid Snap and Flatpak, is using an Ubuntu PPA. However, there are only third-party maintained PPAs.<\/p>\n<p><b>The PPA package is still at v2025.2.5 at the moment:<\/b><\/p>\n<ul>\n<li>Third-party maintained.<\/li>\n<li>PyCharm Community only so far.<\/li>\n<li>amd64 (x86_64) only so far.<\/li>\n<li>supports <b>Ubuntu 24.04<\/b>, <b>Ubuntu 25.04<\/b>\u00a0only so far.<\/li>\n<\/ul>\n<p>As far as I know, the <a href=\"https:\/\/launchpad.net\/~xtradeb\/+archive\/ubuntu\/apps\" target=\"_blank\" rel=\"noopener\">xtradeb PPA<\/a> is keeping updated with the most recent packages including PyCharm Community.<\/p>\n<p>To install PyCharm from the PPA, press <b>Ctrl+Alt+T<\/b> on keyboard to open terminal. And, run commands below one by one:<\/p>\n<ul>\n<li>Add the PPA by running command:\n<pre>sudo add-apt-repository ppa:xtradeb\/apps<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/xtradeb-ppa.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44332\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/xtradeb-ppa-600x407.webp\" alt=\"\" width=\"600\" height=\"407\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/xtradeb-ppa-600x407.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/xtradeb-ppa-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/xtradeb-ppa-768x521.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/xtradeb-ppa.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/li>\n<li>Then install the IDE:\n<pre>sudo apt install pycharm-community<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/apt-pycharm-community.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44331\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/apt-pycharm-community-600x407.webp\" alt=\"\" width=\"600\" height=\"407\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/apt-pycharm-community-600x407.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/apt-pycharm-community-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/apt-pycharm-community-768x521.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/apt-pycharm-community.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/li>\n<\/ul>\n<p>NOTE: Linux Mint user needs to run <code>sudo apt update<\/code> after adding PPA to manually refresh system package cache.<\/p>\n<h2>Uninstall PyCharm<\/h2>\n<p>For the Snap package, just remove it from Ubuntu Software or App Center, or use command:<\/p>\n<pre>snap remove --purge pycharm<\/pre>\n<p>For the Flatpak package, open terminal (Ctrl+Alt+T) and run command to remove it:<\/p>\n<pre>flatpak uninstall --delete-data com.jetbrains.PyCharm-Professional<\/pre>\n<p>And, run <code>flatpak uninstall --unused<\/code> to remove useless run-time libraries.<\/p>\n<p>For PyCharm installed via the official Tarball, just remove the source folder as well as <code>.desktop<\/code> file under <code>.local\/share\/applications<\/code> directory.<\/p>\n<p>For the Ubuntu PPA package, open terminal and run command to remove it:<\/p>\n<pre>sudo apt remove --autoremove pycharm-community<\/pre>\n<p>Also remove the Ubuntu PPA by running command:<\/p>\n<pre>sudo add-apt-repository --remove ppa:xtradeb\/apps<\/pre>","protected":false},"excerpt":{"rendered":"<p>This simple tutorial shows how to install the latest PyCharm IDE (2025.3 updated) in Ubuntu 22.04, and Ubuntu 24.04. The PyCharm Python IDE released version 2025.3 on December 9. The new release features: Unify Community and Professional Editions with single product. New default theme, and new welcome screen. Claude AI support. Use uv as default [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":38760,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[981],"class_list":["post-44322","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-ide"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/44322","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=44322"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/44322\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/38760"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=44322"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=44322"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=44322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}