{"id":45814,"date":"2024-03-14T13:39:54","date_gmt":"2024-03-14T13:39:54","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=45814"},"modified":"2024-03-14T13:40:04","modified_gmt":"2024-03-14T13:40:04","slug":"install-beta-flatpak-flathub","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/03\/install-beta-flatpak-flathub\/","title":{"rendered":"How to Install Flatpak Apps from Flathub Beta Repository"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/flatpak-logo-icon.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-34957\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/flatpak-logo-icon-250x250.png\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/flatpak-logo-icon-250x250.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/flatpak-logo-icon-300x300.png 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/flatpak-logo-icon-600x600.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/flatpak-logo-icon-768x768.png 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/flatpak-logo-icon.png 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>This simple tutorial shows how to install Beta version of your Flatpak app package from Flathub Beta repository in Ubuntu Linux.<\/p>\n<p>Flatpak now is one of the top popular package formats for Linux. It runs in sandbox, allowing to easily manage software permissions and installing latest apps without worrying about dependency issues.<\/p>\n<p>Most software developers publish their Flatpak app packages through <a href=\"https:\/\/flathub.org\/\" target=\"_blank\" rel=\"noopener\">Flathub repository<\/a>. And for testing purpose, Flathub also provides a Beta repository.<\/p>\n<p>There used to be <code>beta.flathub.org<\/code> web page for browsing and installing beta apps. The page however does no longer present in the website, though\u00a0 the beta apps are still installable.<\/p>\n<p><!--more--><\/p>\n<h3>Step 1: Enable Flatpak support<\/h3>\n<p>Some Linux, such as Fedora, Linux Mint, Pop!_OS, has Flatpak support out-of-the-box. But most others do not.<\/p>\n<p>For Debian, Ubuntu, and their based systems, just open up a terminal window (<code>Ctrl+Alt+T<\/code>) and run command to enable it:<\/p>\n<pre>sudo apt install flatpak<\/pre>\n<p>While most other Linux can follow the official <a href=\"https:\/\/flatpak.org\/setup\/\" target=\"_blank\" rel=\"noopener\">setup guide<\/a> instead.<\/p>\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<h3>Step 2: Add Flathub Beta Repository<\/h3>\n<p>Before installing Beta apps, you need to first add the Flathub beta repository. To do so, just open terminal and run command:<\/p>\n<pre>flatpak remote-add --if-not-exists flathub-beta https:\/\/flathub.org\/beta-repo\/flathub-beta.flatpakrepo<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-addbeta.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45815\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-addbeta-700x211.webp\" alt=\"\" width=\"610\" height=\"184\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-addbeta-700x211.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-addbeta-300x91.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-addbeta-768x232.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-addbeta.webp 831w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>The command above installs the Beta repository for installing apps to the default system directory. If you would like to install them to local directory (so no SUDO permission required), also run command:<\/p>\n<pre>flatpak remote-add --if-not-exists --user flathub-beta https:\/\/flathub.org\/beta-repo\/flathub-beta.flatpakrepo<\/pre>\n<h3>Step 3: Install an App from Flathub Beta<\/h3>\n<p>Not all the apps (listed in flathub.org) provide Beta version. As there&#8217;s no web page to browse, you may run command below to print them all in terminal window:<\/p>\n<pre>flatpak remote-ls --app flathub-beta<\/pre>\n<p>For choice, use <code>grep<\/code> option (e.g., <code>flatpak remote-ls --app flathub-beta |grep \"gimp\"<\/code>) to search from them. <i>NOTE: Some apps are there available as Beta, but MAY be old and abandoned!<\/i><br \/>\n<a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-listapp.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45816\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-listapp-700x465.webp\" alt=\"\" width=\"610\" height=\"405\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-listapp-700x465.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-listapp-300x199.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-listapp-768x510.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-listapp.webp 1047w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>To install an app from the Beta repository, use command:<\/p>\n<pre>flatpak install flathub-beta app.id.here<\/pre>\n<p>For example, install GIMP Beta (the Dev version) as Flatpak package, use command:<\/p>\n<pre>flatpak install --user flathub-beta org.gimp.GIMP<\/pre>\n<p><i>here <code>--user<\/code> flag tells to install the app to user&#8217;s local directory. You need to first add the Beta repository to local first (see Step 2).<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-beta-gimp.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45817\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-beta-gimp-700x464.webp\" alt=\"\" width=\"610\" height=\"404\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-beta-gimp-700x464.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-beta-gimp-300x199.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-beta-gimp-768x509.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-beta-gimp.webp 777w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h3>Step 4: Launch Flatpak Beta app<\/h3>\n<p>Like other apps, you can search for and launch the beta app from start menu (or &#8216;Activities&#8217; overview in GNOME).<\/p>\n<p>However, if you have both Stable and Beta versions of same app installed, then only one app icon is visible in menu.<\/p>\n<p>For choice, you may run the command below to launch the Beta version (replace <code>org.gimp.GIMP<\/code> depends which app you installed):<\/p>\n<pre>flatpak run --branch=beta org.gimp.GIMP<\/pre>\n<p>Or, switch the app icon between Stable and Beta, by running command:<\/p>\n<pre>flatpak make-current --user org.gimp.GIMP beta<\/pre>\n<p><i>In last command, replace <code>beta<\/code> with <code>stable<\/code> if you want to make use the Stable version. And, skip <code>--user<\/code> if the app was installed without that flag.<\/i><\/p>\n<h3>Uninstall Flatpak Beta App<\/h3>\n<p>To uninstall a Flatpak package, simply run command in terminal (replace <code>org.gimp.GIMP<\/code> accordingly).<\/p>\n<pre>flatpak uninstall --delete-data org.gimp.GIMP<\/pre>\n<p>If both the Stable and the Beta versions installed, it will ask to type number to select which version to uninstall.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-uninstall-gimp.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45818\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-uninstall-gimp-700x346.webp\" alt=\"\" width=\"610\" height=\"302\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-uninstall-gimp-700x346.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-uninstall-gimp-300x148.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-uninstall-gimp-768x380.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-uninstall-gimp.webp 786w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>For choice, you may add <code>beta<\/code> flag in the end to tell to remove the Beta version. So the command will be:<\/p>\n<pre>flatpak uninstall --delete-data org.gimp.GIMP beta<\/pre>\n<p>Also, run <code>flatpak uninstall --unused<\/code> can free up some disk space by removing useless run-time libraries.<\/p>\n<p>For choice, you may also <b>remove the Flathub Beta repository<\/b>. To do so, just run command:<\/p>\n<pre>flatpak remote-delete flathub-beta<\/pre>\n<p>If both system and user versions installed, it will prompt to choose which one to remove. You can of course add <code>--user<\/code> flag in command to tell which to remove:<\/p>\n<pre>flatpak remote-delete flathub-beta --user<\/pre>\n<p><b>NOTE: Remove a Flathub repository will also uninstall all the packages installed from it.<\/b><br \/>\n<a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-delete-repos.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45819\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-delete-repos-700x475.webp\" alt=\"\" width=\"610\" height=\"414\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-delete-repos-700x475.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-delete-repos-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-delete-repos-768x521.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-delete-repos.webp 786w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>This simple tutorial shows how to install Beta version of your Flatpak app package from Flathub Beta repository in Ubuntu Linux. Flatpak now is one of the top popular package formats for Linux. It runs in sandbox, allowing to easily manage software permissions and installing latest apps without worrying about dependency issues. Most software developers [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":34957,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1472],"class_list":["post-45814","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-flatpak"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/45814","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=45814"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/45814\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/34957"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=45814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=45814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=45814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}