在Debian系统中安装Rust,主要有以下两种方法:
sudo apt update。sudo apt install rustc。sudo apt install cargo。sudo apt update,sudo apt install curl build-essential gcc make -y。curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh。echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc,source ~/.bashrc。