manjaro安裝rust

進入官網vim

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

安裝curl

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

安裝成功會出現 url

Rust is installed now. Great!

以後配置環境,spa

vim  ~/.bashrc 

在最後加入code

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

以後reboot就能夠了blog

輸入rustc --version和cargo查看是否安裝成功
以後碰到缺啥再補充get

相關文章
相關標籤/搜索