📅  最后修改于: 2022-03-11 14:50:02.152000             🧑  作者: Mango
sudo apt remove cmake #Uninstall old version
sudo apt-get install build-essential libssl-dev
wget https://github.com/Kitware/CMake/releases/download/v3.20.0/cmake-3.20.0.tar.gz
tar -zxvf cmake-3.20.0.tar.gz
cd cmake-3.20.0
./bootstrap
make
sudo make install
cmake --version