下载Cmake
wget https://cmake.org/files/v3.0/cmake-3.0.0.tar.gz
解压Cmake
tar xvf cmake-3.0.0.tar.gz && cd cmake-3.0.0/
编译安装cmake
./bootstrap
gmake
gmake install
查看编译后的cmake版本
/usr/local/bin/cmake --version
移除原来的cmake版本
yum remove cmake -y
新建软连接
ln -s /usr/local/bin/cmake /usr/bin/
终端查看版本
cmake --version
标签:bin,Cmake3.0,cmake,tar,gz,Centos7,usr,3.0,安装 From: https://blog.51cto.com/u_12374018/6195601