1. 获取cmake软件包 #wget http://www.cmake.org/files/v2.8/cmake-2.8.3.tar.gz 2. 解压cmake包 #tar -zvxf cmake-2.8.3.tar.gz 3. 配置和编译 #cd cmake-2.8.3 #yum -y install gcc-C++ #./configure #make install