manjaro installation rust

Enter the official website

https://www.rust-lang.org/zh-CN/learn/get-started

installation

curl https://sh.rustup.rs -sSf | sh

Successful installation will appear 

Rust is installed now. Great!

After you configure the environment,

vim  ~/.bashrc 

Added at the end

export PATH=$PATH:/home/lybccc/.caogo/bin
export PATH=$PATH:/home/lybccc/.cargo/env

After reboot on it

Enter rustc --version and cargo to see if the installation was successful
after the encounter lack of Han to add

Guess you like

Origin www.cnblogs.com/lybccc/p/11223676.html