{"id":43864,"date":"2023-04-05T14:40:55","date_gmt":"2023-04-05T14:40:55","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=43864"},"modified":"2024-05-04T12:54:57","modified_gmt":"2024-05-04T12:54:57","slug":"enable-flatpak-appimage-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2023\/04\/enable-flatpak-appimage-ubuntu\/","title":{"rendered":"Enable Flatpak &#038; AppImage Support in Ubuntu 24.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/flatpak-icon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-43865\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/flatpak-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/flatpak-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/flatpak-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/flatpak-icon-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/flatpak-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/flatpak-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>This simple tutorial is going to show you how to add both flatpak and AppImage package format support, while Ubuntu does not support them out-of-the-box.<\/p>\n<p>Like Snap, Flatpak is an universal Linux package format runs in sandbox. Many software developers provide their app packages for Linux through Flatpak. And, AppImage is a portable Linux package format. Just download the package, and click &#8216;Run&#8217; (after adding executable permission) will launch the program.<\/p>\n<h3>Enable Flatpak Support in Ubuntu<\/h3>\n<p>Ubuntu is focusing on the native <code>deb<\/code> and <code>snap<\/code> support. The developer team has officially announced that <a href=\"https:\/\/discourse.ubuntu.com\/t\/ubuntu-flavor-packaging-defaults\/34061\" target=\"_blank\" rel=\"noopener\">they won&#8217;t support Flatpak<\/a> out-of-the-box.<\/p>\n<p>However, user has the freedom of choice to use any other source sources, including Flatpak.<\/p>\n<p><b>1. To enable Flatpak support<\/b>, first press <b>Ctrl+Alt+T<\/b> on keyboard to open terminal, and run command:<\/p>\n<pre>sudo apt install flatpak<\/pre>\n<p><i>Type user password (no asterisk feedback) when it asks and hit Enter.<\/i> In case the command does not work, run <code>sudo apt update<\/code> first to update package index.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/apt-flatpak-mantic.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44373\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/apt-flatpak-mantic-600x291.webp\" alt=\"\" width=\"600\" height=\"291\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/apt-flatpak-mantic-600x291.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/apt-flatpak-mantic-300x145.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/apt-flatpak-mantic-768x372.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/apt-flatpak-mantic.webp 866w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>2. (Optional)<\/b> Then, you can choose to add the Flathub repository, the standard repository that contains tons of applications as Flatpak. To do so, run command:<\/p>\n<pre>flatpak remote-add --if-not-exists flathub https:\/\/flathub.org\/repo\/flathub.flatpakrepo<\/pre>\n<p>When done, <b>log out and back in<\/b> to apply the variable environment change.<\/p>\n<p><b>3.<\/b> Finally, you can either go to <a href=\"https:\/\/discourse.ubuntu.com\/t\/ubuntu-flavor-packaging-defaults\/34061\" target=\"_blank\" rel=\"noopener\">flathub.org<\/a> and install any Flatpak application, by running the <code>flatpak install<\/code> command in the down-arrow menu beside &#8220;Install&#8221; button.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-flathub-xxx.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45987\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-flathub-xxx-700x452.webp\" alt=\"\" width=\"610\" height=\"394\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-flathub-xxx-700x452.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-flathub-xxx-300x194.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-flathub-xxx-768x495.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-flathub-xxx.webp 1268w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Or, install a local <code>.flatpak<\/code> (or <code>.flatpakref<\/code>) file by running command:<\/p>\n<pre>flatpak install ~\/Downloads\/file_name_here.flatpak<\/pre>\n<h3>Enable AppImage Support in Ubuntu<\/h3>\n<p>AppImage is a non-install package format for Linux. Like some .exe or .msi files, user can directly click run <code>.AppImage<\/code> file to launch applications. Though, the <i>&#8216;allow executing file as program&#8217;<\/i> option has to be enabled first in file &#8216;Properties&#8217; dialog.<\/p>\n<p>Ubuntu does NOT support AppImage out-of-the-box, due to switch to fuse3, while the file format requires the classic fuse2.<\/p>\n<p><b>So enable AppImage is also easy.<\/b> Just open terminal (Ctrl+Alt+T) and run command to install the fuse2 library:<\/p>\n<pre>sudo apt install libfuse2<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/apt-libfuse2-mantic.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44374\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/apt-libfuse2-mantic-600x346.webp\" alt=\"\" width=\"600\" height=\"346\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/apt-libfuse2-mantic-600x346.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/apt-libfuse2-mantic-300x173.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/apt-libfuse2-mantic-768x443.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/apt-libfuse2-mantic.webp 866w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>After that, right-click on your AppImage file and click &#8216;Run&#8217; to launch the application after enabled &#8216;allow executing file as program&#8217; and enjoy!<\/p>","protected":false},"excerpt":{"rendered":"<p>This simple tutorial is going to show you how to add both flatpak and AppImage package format support, while Ubuntu does not support them out-of-the-box. Like Snap, Flatpak is an universal Linux package format runs in sandbox. Many software developers provide their app packages for Linux through Flatpak. And, AppImage is a portable Linux package [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":43865,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[2023,1472],"class_list":["post-43864","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-appimage","tag-flatpak"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/43864","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=43864"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/43864\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/43865"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=43864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=43864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=43864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}