From 95adaf574442be1a9ad64ea9bded3df87e7d54ea Mon Sep 17 00:00:00 2001 From: Brian Seymour Date: Thu, 21 Jan 2021 14:11:31 -0600 Subject: [PATCH] add new rust instructions --- var/install.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/var/install.txt b/var/install.txt index 9be572e..ae81b05 100644 --- a/var/install.txt +++ b/var/install.txt @@ -96,11 +96,13 @@ make make install # install rust -# final binary: /opt/.cargo/bin/rustc -# get version: /opt/.cargo/bin/rustc --version -curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -echo 'export PATH=$PATH:/opt/.cargo/bin' >> /opt/.profile -source /opt/.profile +# final binary: /usr/local/bin/rustc +# get version: /usr/local/bin/rustc --version +cd /opt && mkdir rust && cd rust +wget https://static.rust-lang.org/dist/rust-1.49.0-x86_64-unknown-linux-gnu.tar.gz +tar -xzf rust-1.49.0-x86_64-unknown-linux-gnu.tar.gz +cd rust-1.49.0-x86_64-unknown-linux-gnu +./install.sh # install swift # final binary: /opt/swift/swift-5.1.5-RELEASE-ubuntu18.04/usr/bin/swift