• damnthefilibuster@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    24 days ago

    Can you please “installing applications and finding files splattered all over the file system”, please kind person?

    How does Linux do it better?

    • Max-P@lemmy.max-p.me
      link
      fedilink
      arrow-up
      14
      ·
      24 days ago

      Central package management.

      When you install a package, it keeps track of all the files so when you uninstall it, it removes them all. There’s various ways to scan and remove untracked files, but on a Linux system you can basically be ask it “where does this file comes from?” and it’ll just tell you “oh, that’s from mpg123, and you have it installed because VLC and Firefox need it to decode some AVIs”. And if you really don’t want it for some reason, it can also go uninstall everything that needs it too.

      It makes it pretty hard to corrupt a system or uninstall important stuff. In the reverse, it also knows what is needed, so if you install VLC, it will also install all the codecs with it, and those are also automatically available to other apps too usually.

      • Atemu@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        23 days ago

        While that is true for the files that make up the programs themselves and their dependencies, it’s not true for any state files or caches that programs creates at runtime. You need to clean those up manually.

      • superkret@feddit.org
        link
        fedilink
        arrow-up
        1
        ·
        22 days ago

        When you install a package, it keeps track of all the files so when you uninstall it, it removes them all.

        lmao, do a ls -aR ~