https://github.com/Kitware/CMake/releases/download/v3.18.0-rc2/cmake-3.18.0-rc2.tar.gz下载:tar.gz的包
解压:tar -zxvf 包
查找:cd到解压后的包路径
检查树:./bootstrap
编译:make
编译安装:make install
清除:rehash cmake
查看:cmake --version