this post was submitted on 02 Oct 2023
804 points (95.7% liked)

linuxmemes

18314 readers
1626 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Post Linux-related content

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
[–] grue@lemmy.world 10 points 9 months ago (2 children)

and avoid needing to install all of their dependencies locally

Wait, but doesn't it result in more copies of the dependencies being installed locally because they're duplicated for each application?

[–] jj4211@lemmy.world 5 points 9 months ago

I'll give flatpak and snap one thing: they did make some concession to avoiding duplication, unlike docker which utterly duplicates everything.

With flatpak and snap, applications can depend on/pull in a maintained external layer. So you might want 'gnome environment, version 43' and other applications that want that can all share. That layer can be updated independently of dependencies. You might have two instances of the gnome layers (say 43 and 44) due to different applications declaring different versions, but it's not too bad.

Now there is some duplication, some libraries that an app says "oh, no particular layer for this one, fine I'll just bundle it". But at least there's a mechanism to not necessarily do that for everything.