Enable Flatpak in Xubuntu

Enable Flatpak in Xubuntu

Table of Contents

Out of the box, Xubuntu supports Debian, Snap, and AppImage packages with no additional configuration or installation packages. If you want to expand your options further, you can easily enable Flatpak in Xubuntu. Here’s how!

What is Flatpak?

Flatpak bills itself as “the future of apps on Linux.” It’s an increasingly popular app distribution platform that offers sandboxing and simplified builds and deployment, similar to Snap. As it is a Linux packaging format, many politics and strong feelings surround it. You won’t find Flatpak preinstalled on any official Ubuntu flavor. Likewise, Snap is frequently absent outside of the Ubuntu ecosystem.

The Flatpak (and Flathub) introduction video, as featured on flatpak.org.

You might choose to enable Flatpak on Xubuntu to get access to the latest version of an app. GNOME, elementary OS, and a number of upstream maintainers now publish Flatpak packages themselves. Some software, such as the gesture-enabling Touché (see my previous post on enabling multi-touch gestures in Xubuntu), is only distributed on Flathub. If you can’t find something in the software repositories or Snap Store, you should check Flathub next.

Enabling Flatpak support

Xubuntu ships with GNOME Software, as opposed to the Snap Store in other flavors. As a result, enabling Flatpak support is as simple as installing the flatpak and gnome-software-plugin-flatpak packages. You can do this from the terminal or by clicking the Install button below, thanks to Xubuntu’s included AptURL support.

Install Flatpak Support

sudo apt install flatpak gnome-software-plugin-flatpak
Firefox users may see the `Open With...` dialog first. Select AptURL and then continue with your installation.
Firefox users may see the `Open With...` dialog first. Select AptURL and then continue with your installation.
The AptURL window is displayed, requesting confirmation before you can install packages.
The AptURL window is displayed, requesting confirmation before you can install packages.

Adding the Flathub repository (optional)

With Flatpak installed, you can now open .flatpakref (application) and .flatpakrepo (repository) files. To enable the Flathub repository, download and launch the Flathub repository file. I’ve linked to the Fedora Quick Setup guide since it features instructions for the download file. I’ve also linked to the file below.

Flathub repository file

Opening the .flatpakrepo file will launch GNOME Software, ready to add the Flathub repository to your system.
Opening the .flatpakrepo file will launch GNOME Software, ready to add the Flathub repository to your system.

And finally, reboot!

Remember to reboot once you’ve installed everything. This will ensure everything is set up correctly and ready to run. Afterwards, install your apps and enjoy having access to the latest and widest variety of software possible across the Debian/Ubuntu, Snap, AppImage, and Flatpak ecosystems.

comments powered by Disqus

Related Posts

Parole Media Player 0.6.1 Released

Parole Media Player 0.6.1 Released

Parole Media Player 0.6.1 improves the user experience, upgrades playlist search, and includes fixes for DVD and M3U file loading.

Read More
The Best Browser You’re Not Using

The Best Browser You’re Not Using

Has your favorite browser recently let you down or get on your nerves? Maybe it’s time to try something different: Vivaldi.

Read More
The New bluesabre.org

The New bluesabre.org

Welcome to the new bluesabre.org! After nearly a decade of publishing with WordPress, I've moved to Ghost. And so far, I'm impressed.

Read More