version:cmake-3.3.2.tar.gz
download:https://cmake.org/files/v3.3/cmake-3.3.2.zip
# 解压tar包$ sudo tar xf cmake-3.3.2.tar.gz
# 切换目录$ cd cmake-3.3.2
# 开始安装$ sudo ./bootstrap $ sudo gmake$ sudo make install
# 创建软链接$ sudo ln /opt/cmake-3.3.2/bin/cmake /usr/bin/cmake
# 查看版本号$ cmake --version
关于linux的软链接和硬链接可以参考我的这篇博文:
https://blog.csdn.net/qq_34889607/article/details/78488154