Home · Wiki · CMake / Community · GitLab (kitware.com)
1.下载
2编译(二进制方式直接跳过)
3安装
wget https://github.com/Kitware/CMake/releases/download/v3.27.9/cmake-3.27.9.tar.gz
tar xvf cmake-3.27.9.tar.gz
cd cmake-3.27.9
./configure --prefix=/usr
make && make install
二进制方式
Index of /files/v3.27 (cmake.org)
wget https://github.com/Kitware/CMake/releases/download/v3.28.1/cmake-3.28.1-linux-x86_64.tar.gz
tar xvf cmake-3.28.1-linux-x86_64.tar.gz
export PATH=/path/cmake-3.28.1-linux-x86_6/bin