wget https://cmake.org/files/v3.18/cmake-3.18.4.tar.gz
tar -zxvf cmake-3.18.4.tar.gz
cd cmake-3.18.4
./bootstrap
make
make install
测试:cmake --version
其他各个版本的地址:https://cmake.org/files/
wget https://cmake.org/files/v3.18/cmake-3.18.4.tar.gz
tar -zxvf cmake-3.18.4.tar.gz
cd cmake-3.18.4
./bootstrap
make
make install
测试:cmake --version
其他各个版本的地址:https://cmake.org/files/