You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the following commands to install dua: curl -LSfs https://raw.githubusercontent.com/byron/dua-cli/master/ci/install.sh | \ sh -s -- --git byron/dua-cli --target x86_64-unknown-linux-musl --crate dua --tag v2.20.1
That ran successfully but the command 'dua' did not work, I got a "command not found error".
I added ~/.cargo/bin to my PATH, and now it does run.
But I cannot do 'sudo dua'. I again get 'command not found'.
Is there a way to install on Ubuntu so that I dont have to worry about paths and can run the program as sudo?
Alternately, how can run the command as sudo in my current situation.
Thanks
The text was updated successfully, but these errors were encountered:
I also tried deleting everything, installing rustup and installing through cargo.
This results in the same situation: dua runs as my user but when I try 'sudo dua' i get 'command not found'
Repository owner
locked and limited conversation to collaborators
Jun 11, 2023
I'm running a clean install of ubuntu server.
I used the following commands to install dua:
curl -LSfs https://raw.githubusercontent.com/byron/dua-cli/master/ci/install.sh | \ sh -s -- --git byron/dua-cli --target x86_64-unknown-linux-musl --crate dua --tag v2.20.1
That ran successfully but the command 'dua' did not work, I got a "command not found error".
I added ~/.cargo/bin to my PATH, and now it does run.
But I cannot do 'sudo dua'. I again get 'command not found'.
Is there a way to install on Ubuntu so that I dont have to worry about paths and can run the program as sudo?
Alternately, how can run the command as sudo in my current situation.
Thanks
The text was updated successfully, but these errors were encountered: