this post was submitted on 06 Apr 2024
223 points (97.4% liked)

Linux

47255 readers
1077 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Samueru@lemmy.ml -5 points 5 months ago* (last edited 5 months ago) (1 children)

Holy shit my dude I just installed flatpak and firefox and it was 3 GiB like before, and then I installed libreoffice.

The var/lib/flatpak directory went from 3 GiB to 4.4 GIB

DO YOU WANT ME TO CONTINUE?

AM I STILL MISLEADING?

I installed kdenlive now, it is now 6.2 GiB, this shit is painful:

[–] rollingflower@lemmy.kde.social 6 points 5 months ago (1 children)
[–] Samueru@lemmy.ml 1 points 5 months ago* (last edited 5 months ago) (1 children)

Take 3, with the tool included (and also installed gimp):

And this is what flatpak uses when it just has firefox installed:

It still uses more than 15 AppImages kek.

[–] rollingflower@lemmy.kde.social 1 points 5 months ago (1 children)

Interesting, you have no compression as that is likely only on BTRFS

[–] Samueru@lemmy.ml 2 points 5 months ago* (last edited 5 months ago) (1 children)

Btrfs compression is filesystem wide, and it is usually zstd (the same compression that newer appimages are using, however appimages use zstd 15 by default while filesystem it is usually zstd 3 or less).

Yeah turns out that if I were to decompress all my appimages and run them that way, Btrfs filesystem compression would mitigate the issue of having several duplicated libraries.

I actually made a concept appimage for suyu that had the x86-64 v2 and x86-64 v3 binaries in it with a script that determined which binary to use depending on the system, and even though the appimage was shipping two 38 MiB similar binaries, the actual size increase in the resulting appimage was only 6 MiB thanks to the compression in the appimage.

[–] rollingflower@lemmy.kde.social 1 points 5 months ago (1 children)

Damn that is really cool. Good compression algorithms are key.

I also think that flatpaks huge issue is

  • installing the entire runtime instead of just needed components
  • being universal (and Linux has a reputation to support old hardware) thus wasting potential
  • not being good to backup
[–] Samueru@lemmy.ml 2 points 5 months ago* (last edited 5 months ago)

I also was at the yuzu linux-support channel before they closed down, and you have no idea how many times I saw people complaining that yuzu was broken and when I told them to use the appimage it fixed their issue every single times, there was even one case where the person wasn't even buying what I was telling them until the moment they noticed their crashing issue instantly went away with the appimage lol:

https://imgur.com/p6aby3Z.png

This is because the mesa version that flatpak uses was (and likely still is) too old, and specially with amd gpus that let to users running into bugs that had been fixed for over a year in other distros.