Re:Is curl|bash insecure?
by jessedhillon on Friday September 25, 2015 @02:52PM
(#10279956)
On the install page for every PPA is a 1-3 line snippet you can copy and paste which will do add-apt-repository and apt-get. It's not hard and it sounds, from reading all the pro homebrew/linuxbrew comments around here, that this is more of a case that people want to reinvent something that's not broken, and are determined to do so without learning any of the lessons from the last 30 years of package management.
But hey, it prints out an emoji beer mug, so that's cool right?
No, there actually isn't. If you click a little green "read about installing" you'll get some bash snippets... which are split up into one-line-at-a-time embeds in lots of text and in any case use the placeholder "ppa:user/ppa-name" instead of substituting in the Right Thing.
If package-management systems provided a one-liner "bring in this package source, get up-to-date with manifests, and install the root/default package provided by that source" command (in Ubuntu, "ppa-install" has been suggested numerous times), you could just have a list of such commands on your program's site's Installation page, and they would all fit on a single screen. As it is, though, the stanzas and prerequisites for each OS's incantation are complex enough that it's much simpler to provide the "bash magic" version.