• JRaccoon@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    5 months ago

    Cool, thanks for the explanation.

    a single application that gets bundled with all necessary dependencies including versioning

    Does that mean that if I were to install Application A and Application B that both have dependency to package C version 1.2.3 I then would have package C (and all of its possible sub dependencies) twice on my disk? I don’t know how much external dependencies applications on Linux usually have but doesn’t that have the potential to waste huge amounts of disk space?

    • qaz@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      Most dependencies are bundled in the “runtime” images, and it uses file deduplication to reduce the size of the dependencies, but it’s still a little more than a normal package manager.

    • Lettuce eat lettuce@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      Essentially yes, if you start using lots if older applications or mixing applications that use many different dependency versions, you will start to use lots of extra disk space because the different apps have to use their own separate dependency trees and so forth.

      This doesn’t mean it will be like 2x-3x the size as traditional packages, but from what I’ve seen, it could definitely be 10-20% larger on disk. Not a huge deal for most people, but if you have limited disk space for one reason or another, it could be a problem.

      • brachypelmasmithi@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        It CAN get pretty wild sometimes, though. For example, Flameshot (screenshotting utility) is only ~560KB as a system package, while its flatpak version is ~1.4GB (almost 2.5k times as big)

        • j0rge@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          5 months ago

          Flameshot is 3.6MB on disk according to flatpak info org.flameshot.Flameshot