this post was submitted on 15 Mar 2024
729 points (96.1% liked)

linuxmemes

19733 readers
2409 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Kusimulkku@lemm.ee 62 points 3 months ago (1 children)

4GB of dependencies shared across loads of apps

The horror... That's almost 0,4% of my drive!

[–] mexicancartel@lemmy.dbzer0.com 20 points 3 months ago (2 children)

Its good if all many apps use them. But the problem is when you have to install one 10mb app and it pulls 4gb deps.

Also i don't know what is flapak runtimes which are big and different versions of them are required for different apps

[–] Kusimulkku@lemm.ee 4 points 3 months ago (1 children)

Indeed, for a single app it might be a lot, considering it's a single app. But even then it's not a lot of disk space out of what people have. But with every additional app, that additional space use lessens thanks to shared runtimes and dedupping.

Also i don't know what is flapak runtimes which are big and different versions of them are required for different apps

I think a few of the most used one cover most apps, but even with different runtime versions and I think even different runtimes, thanks to dedupping it should only use extra space for stuff that's actually different between the two. Two instances of the same library in different runtimes would only use the space of one, afaik.

[–] mexicancartel@lemmy.dbzer0.com 1 points 3 months ago (1 children)

Yeah. The problem is when I want to install one flatpak app and it takes space.

Are thoose runtimea like a library itself? The runtime itself seems to be using more than a hundred megabytes of space. Isn't the deduplications applicable only for libraries used in different runtimes but runtimes itself uses space, right?

[–] Kusimulkku@lemm.ee 3 points 3 months ago

Runtimes are collections of common libraries. The idea is that instead of everyone having to bundle everything, they can use the same runtimes. Yes, dedupping only takes effect when you have multiples of the same library.

[–] jj4211@lemmy.world 2 points 3 months ago

Well, at least with FlatPak the dependencies are likely shared, if applications are in the same ballpark.

Contrast with docker style where everything bundles their own dependencies so even if you have identical containers, you have essentially duplicate content wasting space.