wget https://cmake.org/files/v3.9/cmake-3.9.2.tar.gz # 下载
cd cmake-3.9.2
./configure
sudo make && make install    # 安装
cmake --version # 查看版本

相关文章: