Surely, the cargo command has more to offer than just dust. I also didn't care for the default install directory, $HOME/.cargo/bin. I installed dust this way:
$ sudo cargo install du-dust --root /usr/local/bin/cargo
WHeeee! So much output! Which I'll quote in a moment. Bottom line is the advice to add /usr/local/bin/cargo/bin to my PATH.
Back to me... What are all those other items? I tried the same command on some of the other packages listed up there. Example:
$ sudo cargo install clap --root /usr/local/bin/cargo
Now I don't know if it was necessary to continue specifying the --root option but trying to install this item, clap (whatever that is), yielded this error message:
$ sudo cargo install clap --root /usr/local/bin/cargo
Updating crates.io index
error: specified package `clap v2.33.3` has no binaries
After gettin this acouple of time you kinda get discouraged. How would I get a binaries that *are* really available for download? And do I need to always specify the --root option?
Whew! Too long but most of that is quoting my output.
Authored Comments
Surely, the cargo command has more to offer than just dust. I also didn't care for the default install directory, $HOME/.cargo/bin. I installed dust this way:
$ sudo cargo install du-dust --root /usr/local/bin/cargo
WHeeee! So much output! Which I'll quote in a moment. Bottom line is the advice to add /usr/local/bin/cargo/bin to my PATH.
OK, about that output:
Updating crates.io index
Downloaded du-dust v0.6.0
Downloaded 1 crate (86.3 KB) in 0.75s
Installing du-dust v0.6.0
Downloaded ansi_term v0.11.0
Downloaded atty v0.2.14
Downloaded ansi_term v0.12.1
Downloaded autocfg v1.0.1
Downloaded bitflags v1.2.1
Downloaded cfg-if v1.0.0
Downloaded aho-corasick v0.7.18
Downloaded crossbeam-channel v0.5.1
Downloaded crossbeam-deque v0.8.0
Downloaded clap v2.33.3
Downloaded crossbeam-epoch v0.9.5
Downloaded crossbeam-utils v0.8.5
Downloaded either v1.6.1
Downloaded lazy_static v1.4.0
Downloaded libc v0.2.97
Downloaded lscolors v0.7.1
Downloaded memchr v2.4.0
Downloaded memoffset v0.6.4
Downloaded num_cpus v1.13.0
Downloaded rayon v1.5.1
Downloaded rayon-core v1.9.1
Downloaded regex v1.5.4
Downloaded scopeguard v1.1.0
Downloaded regex-syntax v0.6.25
Downloaded stfu8 v0.2.4
Downloaded term_size v0.3.2
Downloaded strsim v0.8.0
Downloaded terminal_size v0.1.17
Downloaded textwrap v0.11.0
Downloaded thousands v0.2.0
Downloaded unicode-width v0.1.8
Downloaded vec_map v0.8.2
Downloaded 32 crates (2.1 MB) in 1.08s
Compiling libc v0.2.97
Compiling autocfg v1.0.1
Compiling crossbeam-utils v0.8.5
Compiling lazy_static v1.4.0
Compiling cfg-if v1.0.0
Compiling memchr v2.4.0
Compiling crossbeam-epoch v0.9.5
Compiling scopeguard v1.1.0
Compiling rayon-core v1.9.1
Compiling bitflags v1.2.1
Compiling unicode-width v0.1.8
Compiling regex-syntax v0.6.25
Compiling strsim v0.8.0
Compiling ansi_term v0.11.0
Compiling ansi_term v0.12.1
Compiling either v1.6.1
Compiling vec_map v0.8.2
Compiling thousands v0.2.0
Compiling lscolors v0.7.1
Compiling memoffset v0.6.4
Compiling rayon v1.5.1
Compiling crossbeam-channel v0.5.1
Compiling aho-corasick v0.7.18
Compiling num_cpus v1.13.0
Compiling term_size v0.3.2
Compiling atty v0.2.14
Compiling terminal_size v0.1.17
Compiling textwrap v0.11.0
Compiling regex v1.5.4
Compiling clap v2.33.3
Compiling crossbeam-deque v0.8.0
Compiling stfu8 v0.2.4
Compiling du-dust v0.6.0
Finished release [optimized] target(s) in 1m 13s
Installing /usr/local/bin/cargo/bin/dust
Installed package `du-dust v0.6.0` (executable `dust`)
Back to me... What are all those other items? I tried the same command on some of the other packages listed up there. Example:
$ sudo cargo install clap --root /usr/local/bin/cargo
Now I don't know if it was necessary to continue specifying the --root option but trying to install this item, clap (whatever that is), yielded this error message:
$ sudo cargo install clap --root /usr/local/bin/cargo
Updating crates.io index
error: specified package `clap v2.33.3` has no binaries
After gettin this acouple of time you kinda get discouraged. How would I get a binaries that *are* really available for download? And do I need to always specify the --root option?
Whew! Too long but most of that is quoting my output.