增加 rust安装验证
This commit is contained in:
@@ -30,13 +30,18 @@ go version
|
|||||||
## Rust [下载页面](https://forge.rust-lang.org/infra/other-installation-methods.html)
|
## Rust [下载页面](https://forge.rust-lang.org/infra/other-installation-methods.html)
|
||||||
Linux
|
Linux
|
||||||
```bash
|
```bash
|
||||||
|
# 0 安装rustup
|
||||||
sudo apt install gcc
|
sudo apt install gcc
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||||
|
|
||||||
|
# 1 通过rustup 安装 rust 相关工具链接
|
||||||
# 需要重启shell 或者 重载配置
|
# 需要重启shell 或者 重载配置
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
rustup
|
rustup
|
||||||
|
|
||||||
|
# 验证安装成功
|
||||||
|
cargo -V
|
||||||
|
# 输出 cargo 1.xxx 则为成功
|
||||||
```
|
```
|
||||||
|
|
||||||
## Docker[下载页面](https://docs.docker.com/engine/install/)
|
## Docker[下载页面](https://docs.docker.com/engine/install/)
|
||||||
|
|||||||
Reference in New Issue
Block a user