From 837e378f5512abbd71450d169c249415bfaa173b Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Tue, 1 Jan 2019 12:17:56 -0800 Subject: Reorder contents of Installation section in README This change reorders the individual ways to install the program in order of preference. If possible, the user most likely wants to use a distribution's package over installation from crates.io or from source. --- nitrocli/README.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/nitrocli/README.md b/nitrocli/README.md index 42cddc9..32e096e 100644 --- a/nitrocli/README.md +++ b/nitrocli/README.md @@ -75,6 +75,21 @@ The following dependencies are required: - **GnuPG**: The `gpg-connect-agent` program allows the user to enter PINs. +#### Via Packages +Packages are available for: +- Arch Linux: [`nitrocli`](https://aur.archlinux.org/packages/nitrocli/) in the + Arch User Repository +- Gentoo Linux: [`app-crypt/nitrocli`](https://github.com/d-e-s-o/nitrocli-ebuild) + ebuild + +#### From Crates.io +**nitrocli** is [published][nitrocli-cratesio] on crates.io. If an +installation from the checked-out source code is not desired, a +quick-and-dirty local installation can happen via: +```bash +$ cargo install nitrocli --root=$PWD/nitrocli +``` + #### From Source In order to compile the program the `hid` crate needs to be available which allows to access the nitrokey as a USB HID device. This crate and @@ -89,21 +104,6 @@ $ cargo build --release It is recommended that the resulting executable be installed in a directory accessible via the `PATH` environment variable. -#### From Crates.io -**nitrocli** is [published][nitrocli-cratesio] on crates.io. If an -installation from the checked-out source code is not desired, a -quick-and-dirty local installation can happen via: -```bash -$ cargo install nitrocli --root=$PWD/nitrocli -``` - -#### Via Packages -Packages are available for: -- Arch Linux: [`nitrocli`](https://aur.archlinux.org/packages/nitrocli/) in the - Arch User Repository -- Gentoo Linux: [`app-crypt/nitrocli`](https://github.com/d-e-s-o/nitrocli-ebuild) - ebuild - Acknowledgments --------------- -- cgit v1.2.1