很简单,
$ sudo apt install rustc
安装完检查一下版本,
$ rustc -V
rustc 1.47.0
$ cargo -V
cargo 1.46.0
这篇博客介绍了如何在Linux环境中使用sudo apt install命令来安装Rust编程语言的编译器rustc和包管理器Cargo。安装完成后,通过运行rustc -V和cargo -V来验证它们的版本,显示为rustc 1.47.0和cargo 1.46.0。
很简单,
$ sudo apt install rustc
安装完检查一下版本,
$ rustc -V
rustc 1.47.0
$ cargo -V
cargo 1.46.0
2136
1724
1781
2201
1320

被折叠的 条评论
为什么被折叠?