From e9a4a629d93875fbcb2d36c1e94162f35cc096b9 Mon Sep 17 00:00:00 2001 From: Duke Date: Fri, 9 Dec 2022 23:03:00 -0800 Subject: [PATCH] Note that 1.47.0 on 18.04 works for me and describe a better way to install rustup --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 7bb8f6f..37bcab2 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,13 @@ silentdragonlite does automatic note and utxo management, which means it doesn't #### Pre-requisites + + * You need Rust and how you install it will depend on your version of Linux. Below are well known rust versions tested on common Linux distributions. | Linux Version | Rust Version Tested | Command to install | |---------------|--------|---------------------------| +| Ubuntu 18.04 | 1.47.0 | [USE RUSTUP](https://www.rust-lang.org/tools/install) | | Ubuntu 18.04 | 1.65.0 | [USE RUSTUP](https://www.rust-lang.org/tools/install) | | Ubuntu 20.04 | 1.57.0 | sudo apt install rust-all | | Debian 11 | 1.50.0 | [USE RUSTUP](https://www.rust-lang.org/tools/install) | @@ -43,6 +46,17 @@ silentdragonlite does automatic note and utxo management, which means it doesn't * If you're using another Linux distro, then consult their package manager for rustc and cargo, but if it's tool old then you want to [use Rustup](https://www.rust-lang.org/tools/install) to install at least 1.50.0. * The build will fail if you do not have `rustfmt` binary, which is included when you use `rustup` but may not be included in via operating system packages. Using `rustup` is recommended +To securely install rustup by compiling it yourself: + +``` +git clone https://github.com/rust-lang/rustup +cd rustup +cargo run --release +``` + +The above avoids piping the output of curl to bash (bad idea) and avoids using binaries. It will take a few minutes longer but is the better solution. + + #### The compilation Run the following commands to compile on your computer.