wget https://cmake.org/files/v3.3/cmake-3.3.2.tar.gz
tar xzvf cmake-3.3.2.tar.gz
cd cmake-3.3.2
./bootstrap
make && sudo make install(install失败可能是需要sudo权限)
查看cmake版本:cmake --version
wget https://cmake.org/files/v3.3/cmake-3.3.2.tar.gz
tar xzvf cmake-3.3.2.tar.gz
cd cmake-3.3.2
./bootstrap
make && sudo make install(install失败可能是需要sudo权限)
查看cmake版本:cmake --version