gene heskett <ghesk...@shentel.net> writes:

> An ls -lR of /var/lin/flatpack | wc -l shows:
>
> gene@coyote:~$ ls -R /var/lib/flatpak|wc -l
> 44889
> Nearly 45000 files for one app????

That's primarily due to the runtime (org.gnome.Platform), which indeed
adds considerable overhead for a single application, though it is shared
among all Flatpak apps using the same runtime. Additionally, remember
that OSTree employs hard links to have multiple copies of the same
file. You can investigate this by running

find /var/lib/flatpak -links +1 -ls

Flatpak effectively functions as container technology akin to Docker,
but specifically for GUI applications. Unlike traditional Debian
packacking, applications do not rely on system libraries or other
runtime components, except for the kernel. This allows for the
distribution of applications that function across various distributions.
While this design has its strengths and weaknesses compared to
traditional native packaging, it represents a notably different
approach. See https://flatpak.org/faq/

Reply via email to