wget command from installation page does not work
VikingOfValhalla opened this issue · 4 comments
Describe the bug
All dependencies are installed (wget, bash, and bzip2)
https://autorestic.vercel.app/installation
Used link above to attempt installation of autorestic, however given errors below.
Also, "Successful installation" echo runs every time even on fail. Should be placed in if/else condition.
Expected behavior
Software to be installed
Environment
- OS: Ubuntu Desktop & Ubuntu Server
- Version: 22.04
Hi @VikingOfValhalla! The install script requires elevated privileges, so you need to run it as sudo.
Thanks @dtb6 for the response!
Please see install command with prepended sudo for elevated privileges below
sudo wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh | bash
is running wget
with elevated privileges, but after its piped to bash
it will just be running the install script as your normal user.
Try running:
wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh >> install.sh
sudo bash install.sh
Hi @dtb6 this command works. I was already able to install by cloning the repo and running sudo ./install.sh
manually, however my main concern was the documentation. I'm wondering if maybe the documentation should be updated.
That's all.