22 lines
484 B
Plaintext
22 lines
484 B
Plaintext
1|# 运行时必需的包
|
|
2|- boost-system
|
|
3|- boost-filesystem
|
|
4|- boost-thread
|
|
5|- openssl-libs
|
|
6|- python3
|
|
7|- python3-libs
|
|
8|
|
|
9|# 安装 SCL 仓库
|
|
10|sudo yum install -y centos-release-scl
|
|
11|
|
|
12|# 安装 GCC 7
|
|
13|sudo yum install -y devtoolset-7-gcc devtoolset-7-gcc-c++
|
|
14|
|
|
15|# 启用 GCC 7
|
|
16|scl enable devtoolset-7 bash
|
|
17|
|
|
18|# 确保已启用 EPEL 仓库
|
|
19|sudo yum install -y epel-release
|
|
20|
|
|
21|# 安装 nlohmann-json-devel
|
|
22|sudo yum install -y nlohmann-json-devel |