I’m not really sure how prevalent (or successful) this is, but of course the weaponization of curl | bash has been around for some time. This is just a singularly wide attack surface.
curl | bash is such a cop out for any project, from full proprietary to the most free open source. It is a way to install outside of the OS maintainer’s prefer method but the curl | bash project in question doesn’t want to figure out how to maintain a few package definitions to aid in their distribution.
It isn’t easier for the newbie, if they can get to a terminal for curl | bash they can type in sudo packagemanager install this-thing.
And it isn’t giving power to the user either, if you have variables that change dependent on the system specs, then give them the tools to customize that at compile time or run time. I don’t need their `wget “hyper-customized-binary-that-is-actually-vanilla-x86-64”\ chmod +xto do things.
Package maintenance is so important to modern OS/distros and yet continues to lag behind because the package maintainers are not the project maintainers. (At least debian and guix as they are the two list I’m in and see multiple weekly emails on the state of packages)
I mostly agree, but for some classes of package (e.g. programming languages), I think a separate install process makes a lot of sense. Suppose you want the stability of an Ubuntu LTS, but you want/need to develop on Rust stable/nightly. PPAs are actually a bad way to handle this, especially when Rust/Cargo is handed at the non-root level.
Similarly, I actually think the python3-packagename way Debian et al have decided to handle Python is asinine. So is --break-system-packages for using pip. It is true that we should favor OS package repos—in fact, I moved over to Fedora specifically because its repos are so well-maintained compared to Ubuntu. But for a limited subset of installations, maybe even just programming languages, I think something like curlbashing makes sense.
I think asinine is generous here. Nothing kindles my rage faster than debian not having a the correct python3-packagename so that you now have this bastardized dependency management hell. This is what got to me to start developing with virtual environments or containers.
I do concede on this point as much as it is at the non-root level of installation. I still think the curl | bash could be much better, whether teaching how to build themselves, or establishing gpg keys using various OS functions in order to check binaries downloaded.