1、安裝
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
2、設置環境變量
vim /etc/profile export PATH=$PATH:$HOME/.cargo/bin source /etc/profile
3、查看版本
rustc --version
4、升級版本
rustup update
1、安裝
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
2、設置環境變量
vim /etc/profile export PATH=$PATH:$HOME/.cargo/bin source /etc/profile
3、查看版本
rustc --version
4、升級版本
rustup update
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。