From cd989ba5c43dd4f9d56443fc28fac65e871ca5de Mon Sep 17 00:00:00 2001 From: sharkdp Date: Tue, 6 Nov 2018 21:43:50 +0100 Subject: [PATCH] Add install instructions --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/README.md b/README.md index bf6a2d7..4c503f7 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,32 @@ of bytes (NULL bytes, printable ASCII characters, ASCII whitespace characters, o ![](https://i.imgur.com/ln3TniI.png) ![](https://i.imgur.com/f8nm8g6.png) + +## Installation + +### On Debian-based systems + +``` bash +wget "https://github.com/sharkdp/hexyl/releases/download/v0.2.0/hexyl_0.2.0_amd64.deb" +sudo dpkg -i hexyl_0.2.0_amd64.deb +``` + +### On other distrubutions + +Check out the [release page](https://github.com/sharkdp/hexyl/releases) for binary builds. + +### Via cargo + +If you have Rust 1.29 or higher, you can install `hexyl` from source via `cargo`: +``` +cargo install hexyl +``` + +## License + +Licensed under either of + + * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) + * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) + +at your option.