Skip to content

Trouble installing on Ubuntu. Cannot run as sudo #165

@vince-p

Description

@vince-p

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions