一、相关环境参数
1. 操作系统
[root@VM_0_11_centos proc]# cat /proc/version
Linux version 3.10.0-1062.9.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) ) #1 SMP Fri Dec 6 15:49:49 UTC 2019
2. CMake版本
[root@VM_0_11_centos software]# ls
cmake-3.17.3.tar.gz
二、安装步骤
1.解压
[root@VM_0_11_centos software]# tar -zxvf cmake-3.17.3.tar.gz
2. 执行 ./bootstrap
[root@VM_0_11_centos cmake-3.17.3]# ./bootstrap