{"id":43402,"date":"2022-12-04T12:35:12","date_gmt":"2022-12-04T12:35:12","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=43402"},"modified":"2022-12-04T12:35:12","modified_gmt":"2022-12-04T12:35:12","slug":"pycharm-2022-3-install-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2022\/12\/pycharm-2022-3-install-ubuntu-22-04\/","title":{"rendered":"PyCharm 2022.3 Released! How to Install in Ubuntu 22.04 | 20.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>PyCharm Python IDE 2022.3 was finally released a few days ago. Here are the new features and how to guide for installing it in Ubuntu Linux.<\/p>\n<p>Changes in <a href=\"https:\/\/blog.jetbrains.com\/pycharm\/2022\/12\/2022-3\/\" rel=\"noopener\" target=\"_blank\">PyCharm 2022.3<\/a> include:<\/p>\n<ul>\n<li>Ability to search, install, and delete Conda packages through the Python Packages tool window<\/li>\n<li>New <i>Settings Sync<\/i> plugin<\/li>\n<li>export DataFrames in various formats (for professional only)<\/li>\n<li>The Quick Documentation popup now displays the Attributes section of the class docstrings<\/li>\n<li>Support <code>await<\/code> keyword in the built-in Python Console.<\/li>\n<li>Experimental asyncio support for the debugger.<\/li>\n<li>Vitest support (for professional only)<\/li>\n<li>New project templates for Next.js and Vite (for professional only)<\/li>\n<li>Redis support (for professional only)<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-welcome.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-welcome-600x489.webp\" alt=\"\" width=\"600\" height=\"489\" class=\"aligncenter size-large wp-image-43407\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-welcome-600x489.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-welcome-300x244.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-welcome-768x626.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-welcome.webp 820w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>How to Install PyCharm 2022.3 in Ubuntu Linux<\/h3>\n<p>There are 3 ways to install the Python IDE in Ubuntu and other Linux: <b>Snap<\/b>, <b>Flatpak<\/b>, and portable <b>tarball<\/b>. Just choose the one that you prefer.<\/p>\n<h4>Option 1: PyCharm Snap package<\/h4>\n<p>The easiest way to get the IDE is using the official Snap package. It is a containerized software package that run in sandbox, and updates automatically.<\/p>\n<p>For <b>Ubuntu 20.04<\/b>, <b>Ubuntu 22.04<\/b> and higher, simply search for &#8216;PyCharm&#8217; then install either community or professional edition from Ubuntu Software.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-snap-packages.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43403\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-snap-packages-600x326.webp\" alt=\"\" width=\"600\" height=\"326\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-snap-packages-600x326.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-snap-packages-300x163.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-snap-packages-768x418.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-snap-packages.webp 1020w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Or, run command in terminal to install the Snap package:<\/p>\n<pre>sudo snap install pycharm-community --classic<\/pre>\n<p><i>Replace pycharm-community with pycharm-professional for the professional edition.<\/i><\/p>\n<h4>Option 2: PyCharm Portable package (tar.gz)<\/h4>\n<p>The website also provides official tar.gz package for downloading at 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<\/a><\/div>\n<\/div>\n<p>Then open the folder that stores the tarball (usually Downloads folder), right-click on blank area and select &#8216;<b>Open in Terminal<\/b>&#8216;.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/open-pycharm-terminal.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43404\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/open-pycharm-terminal-600x335.webp\" alt=\"\" width=\"600\" height=\"335\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/open-pycharm-terminal-600x335.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/open-pycharm-terminal-300x168.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/open-pycharm-terminal-768x429.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/open-pycharm-terminal.webp 811w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>When terminal opens, run the commands below one by one to install it for all system users (replace <code>community<\/code> with <code>professional<\/code> accordingly):<\/p>\n<ul>\n<li>First, create a folder under &#8216;\/opt&#8217; to store the source:\n<pre>sudo mkdir -p \/opt\/pycharm-community<\/pre>\n<\/li>\n<li>Then extract the tarball into that folder:\n<pre>sudo tar -zxf pycharm-community-2022.3.tar.gz --strip-components=1 -C \/opt\/pycharm-community\/<\/pre>\n<\/li>\n<li>Finally, create &amp; edit shortcut icon file for the IDE package:\n<pre>sudo gedit \/usr\/share\/applications\/pycharm-community.desktop<\/pre>\n<p><i>Replace <code>gedit<\/code> with <code>nano<\/code> for Ubuntu 22.10.<\/i><\/li>\n<\/ul>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-install.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43405\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-install-600x214.webp\" alt=\"\" width=\"600\" height=\"214\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-install-600x214.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-install-300x107.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-install.webp 767w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>The last command should open an empty text editor window. There paste the lines below and save it.<\/p>\n<blockquote><p>[Desktop Entry]<br \/>\nName=PyCharm Community Edition<br \/>\nComment=Lightweight IDE for Python &amp; Scientific development<br \/>\nExec=\/opt\/pycharm-community\/bin\/pycharm.sh<br \/>\nIcon=\/opt\/pycharm-community\/bin\/pycharm.svg<br \/>\nTerminal=false<br \/>\nType=Application<br \/>\nCategories=Development;IDE;<br \/>\nStartupWMClass=jetbrains-pycharm<\/p><\/blockquote>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-community-desktop.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43406\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-community-desktop-600x376.webp\" alt=\"\" width=\"600\" height=\"376\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-community-desktop-600x376.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-community-desktop-300x188.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-community-desktop-768x482.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/pycharm-community-desktop.webp 815w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>After saving the file, you should be able to search for and launch PyCharm IDE from start menu or &#8216;Activities&#8217; overview, depends on your desktop environment.<\/p>\n<h4>Option 3: PyCharm Flatpak<\/h4>\n<p>The open-source community also maintains the PyCharm packages as Flatpak package, which is also containerized package runs in sandbox.<\/p>\n<p>First, open terminal by pressing Ctrl+Alt+T keys on keyboard. When it opens, run command to install the daemon package:<\/p>\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><\/p>\n<p>Next, run command to install PyCharm Community as Flatpak:<\/p>\n<pre>flatpak install https:\/\/dl.flathub.org\/repo\/appstream\/com.jetbrains.PyCharm-Community.flatpakref<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/flatpak-pycharm.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/flatpak-pycharm-600x407.webp\" alt=\"\" width=\"600\" height=\"407\" class=\"aligncenter size-large wp-image-43409\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/flatpak-pycharm-600x407.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/flatpak-pycharm-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/flatpak-pycharm-768x521.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/12\/flatpak-pycharm.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Or, install the professional version as Flatpak via command:<\/p>\n<pre>flatpak install https:\/\/dl.flathub.org\/repo\/appstream\/com.jetbrains.PyCharm-Professional.flatpakref<\/pre>\n<h3>Uninstall PyCharm<\/h3>\n<p>For the Snap package, remove it either via Ubuntu Software or by running command in terminal:<\/p>\n<pre>sudo snap remove pycharm-community --classic<\/pre>\n<p>For the portable package, remove the source as well as shortcut file via command:<\/p>\n<pre>sudo rm -R \/opt\/pycharm-community<\/pre>\n<pre>sudo rm \/usr\/share\/applications\/pycharm-community.desktop<\/pre>\n<p>And, remove the Flatpak package via command:<\/p>\n<pre>flatpak uninstall --delete-data com.jetbrains.PyCharm-Community<\/pre>\n<p>For the professional edition, remove <code>pycharm-community<\/code> in the commands above with <code>pycharm-professional<\/code>.<\/p>","protected":false},"excerpt":{"rendered":"<p>PyCharm Python IDE 2022.3 was finally released a few days ago. Here are the new features and how to guide for installing it in Ubuntu Linux. Changes in PyCharm 2022.3 include: Ability to search, install, and delete Conda packages through the Python Packages tool window New Settings Sync plugin export DataFrames in various formats (for [&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-43402","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-ide"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/43402","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=43402"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/43402\/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=43402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=43402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=43402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}