Skip to content

Commit

Permalink
Update 1.resource-preparations.md
Browse files Browse the repository at this point in the history
  • Loading branch information
randomJoe211 committed Jan 13, 2022
1 parent 587049b commit 1eb42e5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,17 +104,17 @@

3. 如果 CMake 版本不符合要求,访问 CMake 官网以获取符合需要的版本。

4. 如果 G++ 版本不符合要求,自行到 GCC 官网获取相应版本或根据以下方法升级 GCC。
4. 如果 G++ 版本不符合要求,自行到 GCC 官网获取相应版本或根据以下方法安装合适版本的 GCC。

- CentOS 系统的用户依次执行以下命令以升级 GCC
- CentOS 系统的用户依次执行以下命令

```
yum install centos-release-scl
yum install devtoolset-11
scl enable devtoolset-11 'bash'
```

- Ubuntu 系统的用户依次执行以下命令以升级 GCC
- Ubuntu 系统的用户依次执行以下命令

```
add-apt-repository ppa:ubuntu-toolchain-r/test
Expand Down

0 comments on commit 1eb42e5

Please sign in to comment.