Why Fedora still doesn't ship Flatpaks by default?

Gnome Software shows two repository sources for many Gnome core apps, one is for the Flatpak version and the other one is for the RPM version, as seen below:

8750e943c4002f07b751c6bd4a09a00459ce567b.png

However, the RPM version is still the default installed.

Why the Flatpak version is not the one installed by default?

IIUC the flatpak is designed to work on almost any machine and installs its own environment for running. Thus many things, libraries included, are installed in that environment and the flatpak is considerably larger than the parent rpm on which it is based. This enables a flatpak designed for a library that is possibly way older or newer than installed in the OS to work regardless.

You may have one flatpak installed that was built for fedora 34 while another may be built for fedora 36. The extra space and environments are usually not needed for apps that are available with an rpm for direct install but with certain OSes (like silverblue) it may be the better choice.

The default repos are focused on the rpm versions of each app.

The complexities and additional space and environments needed for flatpaks also add to the maintenance of the packages and would interfere with the rapid development process of fedora.

2 Likes

As a counter-point I might ask, why should Fedora ship flatpaks by default?(outside of Silverblue/Kinoite)?

There are a lot of pros/cons with using flatpak over repo packages. It isn’t an obvious, A is better than B scenario.

1 Like

That’s probably a better topic for https://discussion.fedoraproject.org. Flatpak and RPM are both supported by Fedora and as such are supported here. The other site is a better place for discussions about packaged default ideals, IMO.

1 Like

My best guess is that this package was part of the base installation for Fedora Workstation and the installation images are based on RPM, so it was initially installed through Anaconda (or dnf) instead of through Gnome Software.

That sounds like there is a separate installation image where flatpaks are installed by default but I guess it doesn’t exist.

What’s the difference between ask fedora?

Log into the discussions forum and see. Discussions is more developer and management oriented and ask is more end user oriented.

1 Like

No, but if you installed say, the XFCE or KDE spin, I wouldn’t expect the Gnome Software bits to come pre-installed via RPM.

1 Like