s

Linux编译安装cmake最新版本

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

https://blog.51cto.com/sadoc/1910753

https://cmake.org/download/

https://github.com/Kitware/CMake/releases/download/v3.14.3/cmake-3.14.3.tar.gz

yum安装的版本过于低,一般都是2.8版本.
需要安装gccgcc-c*
#wget https://cmake.org/files/v3.7/cmake-3.7.2.tar.gz
#tar zxf cmake-3.7.2.tar.gz
#cd cmake-3.7.2
#./bootstrap
#make && makeinstall
查看版本
[root@localhostcmake-3.7.2]# cmake --version
cmake  version3.7.2
CMake suite maintained and supported by Kitware (kitware.com/cmake)

 

end

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄