@kev > For example, the Telegram desktop app as a Flatpak is 783MB, whereas the DEB is just 21MB. That’s a massive difference!

Flatpak uses shared runtimes which are huge. Graphical app stores often shows total download size as a size of application. This confuse a lot of people. As before any flatpak app is installed no runtime is insalled as well. The app store shows sizes of every app that big. But actually they are not.

Follow

@konosuppa @kev how does that work? Do you mean that two different apps - say Telegram and Libre Office for example - would share some code? What would the code handle? Forgive my n00b question. I’ve only used APT before so this is new to me.

@danny @kev it is less efficient then apt. Flatpak apps run completely independent from the system libs. A runtime is the base system of an app. But there are many runtimes and the most popular are three: GNOME, KDE (it is used for many Qt apps too) and Freedesktop runtimes. LibreOffice uses Freedesktop and Telegram uses KDE. For example, Firefox and LibreOffice run on the same Freedesktop runtime so the answer is yes for them.

docs.flatpak.org/en/latest/bas

@danny @kev and if I know right both KDE and GNOME are inherited from the Freedesktop runtime so they also shares some part of files (libs and resources). Here ostree deduplication comes into play. Which means no file is stored twice. It is content-addressable storage.

@konosuppa @kev thanks for this. Package managers have been on my top investigate’ list. Looking forward to reading those docs.

@danny @kev if you are interested in differences between package managers and know only APT, Nix/NixOS may be interesting for you too. It does things differently than all the APT/RPM/Pacman but yet shares libs effectively and allows multiple different versions of libs to coexist in the same system.

@konosuppa @danny this is really useful actually. Those huge numbers stated have always put me off using Flatpak. I may have to re-think that stance.

Sign in to participate in the conversation
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.