Last active
August 29, 2015 14:26
-
-
Save xrl/7e0a2659185efb840cf1 to your computer and use it in GitHub Desktop.
Set up rustc/cargo toolchain on scaleway C1 ARMv7 server instance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update | |
apt-get upgrade -y | |
apt-get install -y aptitude vim git libssl-dev build-essential | |
mkdir ~/rust-temp-dir | |
cd ~/rust-temp-dir | |
# Rust 1.1.0 | |
# export CARGO_URL="https://www.dropbox.com/sh/qfbt03ys2qkhsxs/AAACKdu99RNndY8AjA15pZlIa/1.1.0/cargo-2015-05-14-a483581-arm-unknown-linux-gnueabihf-65bc529734a332b57b4bcf3d7c32e7f6aa4d449f.tar.gz?dl=0" | |
# export RUST_URL="https://www.dropbox.com/sh/qfbt03ys2qkhsxs/AAANQ7TuyVUtA09TfFyR-s7aa/1.1.0/rust-2015-06-19-35ceea3-arm-unknown-linux-gnueabihf-1d459e0987537a1f2ecc1c5bd594d2e776f88927.tar.gz?dl=0" | |
# Rust nightly 2015-07-28 | |
export CARGO_URL="https://www.dropbox.com/sh/qfbt03ys2qkhsxs/AADsM5dKjYRwjdRi8n_5RcA4a/cargo-2015-07-28-b6668e6-arm-unknown-linux-gnueabihf-954d0eab80855a5f06bfeb21da24f007ebd42b77.tar.gz?dl=0" | |
export RUST_URL="https://www.dropbox.com/sh/qfbt03ys2qkhsxs/AABDMG7zbnjjx5J7ZHw6yd-_a/rust-2015-07-27-922aef0-arm-unknown-linux-gnueabihf-fe8464790a0dcf7155e8e95476ab05bb163abcb7.tar.gz?dl=0" | |
wget -O cargo.tar.gz $CARGO_URL | |
wget -O rust.tar.gz $RUST_URL | |
tar xzf cargo.tar.gz | |
tar xzf rust.tar.gz | |
curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sh | |
multirust update unofficial-nightly --copy-local . | |
multirust default unofficial-nightly |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment