• oce 🐆@jlai.lu
    link
    fedilink
    arrow-up
    9
    ·
    4 months ago

    Some of those can be good if you want a single command to install on any OS.

      • jj4211@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        4 months ago

        You think of distribution packaged rpms/deb, but the softwate developer can self publish, and you’ll see plenty of self published packages in ppa, copr, flathub, and even just loose websites because it’s not rocket science to make an apt or yum repository. However the distribution versions may take a little more time, but more likely to work together as a cooperative whole. Flathub has a decent shot by allowing concurrent versions of dependencies to install, while preserving the concept of updating dependencies independent of the package maintainers.

        However, as you go down his chart, it’s less likely that you’ll reasonably update after install. You may get the latest at the second you install, but 6 months later you’ll likely be stale. You may neglect to update npm in each and every project, or it may automatically dependency lock (because self publish nature results in developers having to vet dependency updates, and devs are lazy about that).

    • jbk
      link
      fedilink
      arrow-up
      3
      ·
      4 months ago

      Bash/Sh on Windows? And what’s so bad about 2-3 separate commands anyway?

      • jj4211@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        4 months ago

        I assume he refers to npm/pip/cargo to be the multiple os option, not saying the last one is obviously better for multiple os. At least that has to be because that’s the only option that is os independent.

        Of course it sucks because the essentially uncurated dependency trees result in either instability on updates, or missing updates. Of course also the natural OS updater won’t help you out with pip/cargo/npm, but it will help with apt, yum, snap, and flatpak.

      • oce 🐆@jlai.lu
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        4 months ago

        I was talking about the other ones, but since you mention it, yeah, many people use Bash on Windows, from Git Bash which is part of Git on Windows, which pretty much any developer forced to use Windows will install in order to use Git.
        Developers often prefer to have less interfaces to maintain when possible.

    • smileyhead
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      Gets the job done, but shoudn’t and isn’t intended for non-programmer end user.
      I’m not mad at small programs or developers with not much time to setup a distribution pipeline, they should be praised for their work at the program itself. But different OSes have different places to unpack a program and this allows simple updates, we should respect that for consistency at user end. Expect it’s Windows, which is a unspecified mess anyway, let’s go and unpack everything raw on C:\ or into user directory.