系统centos 7.0
1. 卸载原有cmake : yum -y remove cmake
2. 搜索: find / -name cmake (将搜到的全部删掉)
3.wget https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh
4.sudo sh cmake-3.12.0-Linux-x86_64.sh --prefix=/usr/local --exclude-subdir
系统centos 7.0
1. 卸载原有cmake : yum -y remove cmake
2. 搜索: find / -name cmake (将搜到的全部删掉)
3.wget https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh
4.sudo sh cmake-3.12.0-Linux-x86_64.sh --prefix=/usr/local --exclude-subdir