Enabling Flatpak on openSUSE or SLES makes desktop applications available outside the regular RPM package set, which is useful when a needed tool ships on Flathub but not in the default distribution repositories. It also separates application updates from the base operating system so workstation software can move faster without replacing core system packages.
Flatpak installs a sandboxed application runtime and stores software sources as remotes such as Flathub. The package itself is installed with zypper, and the configured remote can then be used from the command line with flatpak or through desktop software tools such as GNOME Software on systems that include the desktop stack.
Flatpak is available in the maintained openSUSE repositories, while SLES package availability depends on the system's registration state and enabled repositories or modules. After adding Flathub, restart the system before expecting desktop integration to be fully available in graphical software managers.
$ sudo zypper refresh
$ sudo zypper install flatpak Loading repository data... Reading installed packages... Resolving package dependencies... ##### snipped ##### (242/242) Installing: flatpak-1.16.3-1.2.aarch64 [done]
Current openSUSE repositories also pull in xdg-desktop-portal and related desktop integration packages as dependencies.
On SLES, a No provider of 'flatpak' found message usually means the system is not registered for the required repositories or modules yet.
$ sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
Flatpak uses system-wide remotes by default, so leaving out –user makes Flathub available to all local users.
$ flatpak remotes flathub system
The system flag confirms that the remote is available to every local account instead of only the current user.
$ sudo systemctl reboot