4 ms·
It's not uncommon that the curl | sh method actually, among other things, detect what distro you're running and add the repos before installing via the package
by hnarn 2y ago
It's not uncommon that the curl | sh method actually, among other things, detect what distro you're running and add the repos before installing via the package manager, so in the end it depends on what the script actually does. Atuin does it well for example: https://docs.atuin.sh/guide/installation/ https://docs.atuin.sh/guide/installation/ -- and offers other options (as you should).
- ellieh 2y agoWe're actually not going to be doing that for much longer. Lots of users kept querying how it was installed, where, how to remove it, etc. The response of "it depends, we probably used your system package manager" was not often well received. Users who know how to use their package manager tended to just do that anyway, and not use the script.
- hnarn 2y agoI don't really understand the decision to completely stop doing it. If the script has logic to do A,B,C in different cases, why not just implement an --uninstall flag that does the opposite of A,B,C? Then users don't need to know or care what "type" of installation was done.