Rate This Document
Findability
Accuracy
Completeness
Readability

Installing Rust

  1. Install Rust.
    cd /opt/
    curl https://sh.rustup.rs -sSf | sh -s -- -y

    If the download fails due to network conditions, try again.

    1
    2
    source $HOME/.cargo/env
    export PATH=$HOME/.cargo/bin:$PATH
    
  2. View the Rust version.
    1
    rustc --version
    

    1
    rustup --version
    

    1
    cargo --version