• TwinTusks
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    7
    ·
    8 months ago

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

    • d_k_bo@feddit.de
      link
      fedilink
      arrow-up
      30
      ·
      edit-2
      8 months ago

      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.

      • TwinTusks
        link
        fedilink
        English
        arrow-up
        7
        ·
        8 months ago

        dependencies that are bundled in the app

        Isn’t flatpaks exactly this?

        • Vash63@lemmy.world
          link
          fedilink
          arrow-up
          19
          ·
          8 months ago

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

          • TwinTusks
            link
            fedilink
            English
            arrow-up
            7
            ·
            8 months ago

            Didn’t know that, intresting, thank you.

        • Kusimulkku@lemm.ee
          link
          fedilink
          arrow-up
          8
          arrow-down
          1
          ·
          8 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.

        • acockworkorange@mander.xyz
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          8 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.