Explorar el Código

完善安装步骤

skyfffire hace 2 años
padre
commit
bd5e626fb9
Se han modificado 1 ficheros con 6 adiciones y 3 borrados
  1. 6 3
      README.md

+ 6 - 3
README.md

@@ -18,12 +18,15 @@
 
 ## 运行步骤(以ubuntu 20 为例)
 
-### 1. 安装rust运行环境
+### 1. 安装rust运行环境,安装环境时选择1)Proceed with installation (default)
 ```shell
 sudo su
-sudo apt update
-sudo apt-get install build-essential libssl-dev pkg-config
+sudo apt update -y
+sudo apt-get install build-essential -y 
+sudo apt-get install libssl-dev -y
+sudo apt-get install pkg-config -y
 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
+source $HOME/.cargo/env
 rustc --version
 ```
 ### 2. 项目本地化(第一次使用git需要输入git用户名和密码完成克隆)