$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh info: downloading installer Welcome to Rust! This will download and install the official compiler for the Rust programming language, and its package manager, Cargo. Rustup metadata and toolchains will be installed into the Rustup home directory, located at: /home/andreas/.rustup This can be modified with the RUSTUP_HOME environment variable. The Cargo home directory located at: /home/andreas/.cargo This can be modified with the CARGO_HOME environment variable. The cargo, rustc, rustup and other commands will be added to Cargo's bin directory, located at: /home/andreas/.cargo/bin This path will then be added to your PATH environment variable by modifying the profile files located at: /home/andreas/.profile /home/andreas/.bashrc You can uninstall at any time with rustup self uninstall and these changes will be reverted. Current installation options: default host triple: x86_64-unknown-linux-gnu default toolchain: stable (default) profile: default modify PATH variable: yes 1) Proceed with installation (default) 2) Customize installation 3) Cancel installation >1 info: profile set to 'default' info: default host triple is x86_64-unknown-linux-gnu info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu' info: latest update on 2021-05-06, rust version 1.52.0 (88f19c6da 2021-05-03) info: downloading component 'cargo' info: downloading component 'clippy' info: downloading component 'rust-docs' 15.3 MiB / 15.3 MiB (100 %) 8.3 MiB/s in 2s ETA: 0s info: downloading component 'rust-std' 24.1 MiB / 24.1 MiB (100 %) 10.4 MiB/s in 2s ETA: 0s info: downloading component 'rustc' 48.7 MiB / 48.7 MiB (100 %) 9.9 MiB/s in 5s ETA: 0s info: downloading component 'rustfmt' info: installing component 'cargo' info: using up to 500.0 MiB of RAM to unpack components 6.0 MiB / 6.0 MiB (100 %) 726.4 KiB/s in 7s ETA: 0s info: installing component 'clippy' info: installing component 'rust-docs' 15.3 MiB / 15.3 MiB (100 %) 1.8 MiB/s in 7s ETA: 0s info: installing component 'rust-std' 24.1 MiB / 24.1 MiB (100 %) 2.0 MiB/s in 20s ETA: 0s info: installing component 'rustc' 48.7 MiB / 48.7 MiB (100 %) 718.4 KiB/s in 59s ETA: 0s info: installing component 'rustfmt' 3.6 MiB / 3.6 MiB (100 %) 3.6 MiB/s in 1s ETA: 0s info: default toolchain set to 'stable-x86_64-unknown-linux-gnu' stable-x86_64-unknown-linux-gnu installed - rustc 1.52.0 (88f19c6da 2021-05-03) Rust is installed now. Great! To get started you may need to restart your current shell. This would reload your PATH environment variable to include Cargo's bin directory ($HOME/.cargo/bin). To configure your current shell, run: source $HOME/.cargo/env
Rust Installation on Linux
Leave a reply