website icon indicating copy to clipboard operation
website copied to clipboard

Use wget in instructions instead of curl

Open beruic opened this issue 5 years ago • 1 comments

Curl is no longer installed by default on Ubuntu, and AFAIK neither curl nor wget is installed by default on Debian. It therefore makes sense to make most peoples experience with installing easier, by writing

wget -O- -q https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -

in instrucitons instead of

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -

At least for the Ubuntu/Debian instructions.

beruic avatar Jan 11 '19 10:01 beruic

Indeed, looks like wget is installed on a lot more Debian systems compared to curl, at least according to the (opt-in) popularity contest: https://qa.debian.org/popcon-graph.php?packages=wget+curl&show_installed=on&want_legend=on&want_ticks=on&from_date=&to_date=&hlght_date=&date_fmt=%25Y-%25m&beenhere=1

image

Would you like to submit a pull request updating the docs?

Daniel15 avatar Jan 20 '19 01:01 Daniel15