- 下载
wget https://cmake.org/files/v3.17/cmake-3.17.0.tar.gz
3.18还没有正式版本发布,所以吾下载了3.17。
- 解压
tar -zxvf cmake-3.17.0.tar.gz
cd cmake-3.17.0
- 编译
./bootstrap
gmake
sudo make install
wget https://cmake.org/files/v3.17/cmake-3.17.0.tar.gz
3.18还没有正式版本发布,所以吾下载了3.17。
tar -zxvf cmake-3.17.0.tar.gz
cd cmake-3.17.0
./bootstrap
gmake
sudo make install
微信扫码登录