Search code examples
linuxraspberry-pi3debian-jessie

wget not working with raspberry pi project pacman in terminal


I am trying to do the raspberry pi project Pacman Treasure and on the first step it says to use the command wget -O - http://rpf.io/pacmanstart | bash and when I tried, the terminal gave me an error saying that '0' was an invalid option. I double checked my command and tried again. It still didn't work. I used wget --help and used man wget but I didn't see any problem. Has anyone else had this problem? I am using Raspbian Jessie.


Solution

  • It should not be zero 0 = 0 but big o = O O. wget -O - not wget -0 -.
    O like Output, -O - means wget should output downloaded files to stdout.