this post was submitted on 15 Mar 2024
727 points (96.2% liked)

linuxmemes

20880 readers
4 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
[–] [email protected] 0 points 7 months ago (3 children)

But doesnt each flatpak is packed with its own dependencies? So bascially you have the same dependency over and over.

[–] [email protected] 30 points 7 months ago* (last edited 7 months ago) (1 children)

No, each runtime is only used once. You only get duplicates for apps that use different runtimes or for dependencies that are bundled in the app.

[–] [email protected] 7 points 7 months ago (3 children)

dependencies that are bundled in the app

Isn't flatpaks exactly this?

[–] [email protected] 19 points 7 months ago (1 children)

No, it's a layered model like Docker. They depend on various images that can be shared across applications targeting the same runtime.

[–] [email protected] 7 points 7 months ago

Didn't know that, intresting, thank you.

[–] [email protected] 7 points 7 months ago

Some are bundled, lots of the deps come from runtimes that are collections of deps. And many apps use those same runtimes. It's sorta middle point between bundling everything and sharing everything.

[–] [email protected] 2 points 7 months ago

It’s like a separate package manager with much less granularity than most distros packages. It’s a very clever implementation that has got its pros and cons, but massive duplication of libraries isn’t one of them.

[–] [email protected] 27 points 7 months ago

You may be thinking of AppImage. That's one file that contains everything.