https://cmake.org/download/
1.安装必备包
yum install -y gcc gcc-c++ make automake ncurses-devel git wget curl
2.获取CMake最新64位源码包,当前版本号为3.4.0
wget https://cmake.org/files/v3.4/cmake-3.4.0.tar.gz
3.编译安装
tar zxf cmake-3.4.0.tar.gz
cd cmake-3.4.0
./bootstrap
gmake
gmake install
4.查看版本号
cmake --version
参考文献
[1].http://www.linuxidc.com/Linux/2014-02/97363.htm
[2].http://www.jb51.net/os/RedHat/73030.html