• Kusimulkku@lemm.ee
    link
    fedilink
    arrow-up
    79
    arrow-down
    16
    ·
    9 months ago

    4GB of dependencies shared across loads of apps

    The horror… That’s almost 0,4% of my drive!

    • mexicancartel@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      18
      ·
      9 months ago

      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
        link
        fedilink
        arrow-up
        6
        arrow-down
        2
        ·
        9 months ago

        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
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          9 months ago

          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
            link
            fedilink
            arrow-up
            3
            ·
            9 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
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        9 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.