2955560060
This patch releases adds support for the new search index format (Rust 1.52.0 and later).
2.1 KiB
2.1 KiB
Installing rusty-man
Installing a package
rusty-man packages are available for these distributions:
- Arch Linux:
rusty-man
in the Arch User Repository
Installing from source
Build Requirements
To compile rusty-man, you need Rust 1.40 or later.
Installing from Git
- Clone the rusty-man Git repository:
$ git clone https://git.sr.ht/~ireas/rusty-man && cd rusty-man
- Optional: Checkout the latest release:
$ git checkout v0.4.2
- Optional: Verify the signature of the latest commit:
$ curl -s "https://pgp.ireas.org/0x6D533958F070C57C.txt" | gpg --import $ git verify-commit HEAD
- Compile rusty-man:
$ cargo build --release --locked
- Optional: Install the rusty-man binary:
$ sudo cp ./target/release/rusty-man /usr/local/bin/rusty-man
Installing from a tarball
- Download the tarball for the latest rusty-man release (see the release
list) and optionally its signature:
$ curl -OJ "https://git.sr.ht/~ireas/rusty-man/archive/v0.4.2.tar.gz"
- Optional: Download and verify the signature of the tarball:
$ curl -O "https://git.sr.ht/~ireas/rusty-man/refs/v0.4.2/rusty-man-v0.4.2.tar.gz.asc" $ curl -s "https://pgp.ireas.org/0x6D533958F070C57C.txt" | gpg --import $ gpg --verify rusty-man-v0.4.2.tar.gz.asc
- Extract the tarball:
$ tar -xf rusty-man-v0.4.2.tar.gz $ cd rusty-man-v0.4.2
- Compile rusty-man:
$ cargo build --release --locked
- Optional: Install the rusty-man binary:
$ sudo cp ./target/release/rusty-man /usr/local/bin/rusty-man
Installing from crates.io
cargo install rusty-man --locked
You can omit the --locked
option to use the latest dependency versions
available. Note that this might cause issues if a dependency breaks semantic
versioning.