• auzy@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    3
    ·
    1 month ago

    Not really.

    There is a good reason Windows does it.

    To guarantee the running state of the system, and to ensure everything runs using the components and versions they were designed to use

    • JoYo 🇺🇸
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      1 month ago

      I can easily install multiple versions of coreutils and glibc without issue.

      • auzy@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        1 month ago

        Cool. You do that

        Are you going to install multiple versions of every library?

        What if it’s a security fix and it’s in issue in your desktop environment, etc

        Coreutils and glibc aren’t the only libraries on your system

        Some apps might use static linking too so might need to be restarted. Other libraries might be loaded long after the app is started. If you swap libraries half way, it’s not great too

        What if you’re copying large files half way and run out of space. That nuked my Linux mint install

        Linux distros don’t just copy Windows. They wouldn’t put in the extra effort unless they have to.

        Do you think a bunch of developers sit around and don’t evaluate why they’re doing things? And instead just copy from Windows? Nah mate. They do it for a reason

        The cool thing about doing it this way is if boot fails, you can rollback easily too. If you’re installing core components randomly, your system might only fall to boot a week later

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      1 month ago

      No. Its because windows read-locks everything.

      In Linux we have post-install scripts to ensure relevant stuff gets restarted as long as it was installed properly. (The improperly installed shit can go fuck itself)

      The only time you need to reboot is when you’ve upgraded your kernel without kstuff/ksplice or you’ve glanced at dbus a little sideways.

      • auzy@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 month ago

        sigh

        Post-Install scripts don’t fix 100% of the issue and dynamic lazy linking is a real thing.

        The read-only thing really isn’t the main issue here, and everyone including windows has a way to do post installation stuff, and has a service manager

        As an example, a few years ago my system kept erroring due to a gstreamer update. Reboot fixed it (I only remember it because the bug reports were only recently closed).

        Probably because apps had half loaded old versions, and were lazy linking new versions.

        Furthermore, without doing this, self-recovery is difficult. Because if you update something today, and reboot a week later and your system doesn’t boot, you have no idea what caused it. You’d have to keep rolling back. If you do it on reboot, you can snapshot, update, and if system fails, then rollback automatically after losing nothing.

        There’s lots of good reasons