卸载原来的cmake
yum remove cmake
安装pip
yum -y install epel-release yum install python-pip pip install --upgrade pip
用pip安装cmake
pip install cmake --upgrade
参考资料
https://stackoverflow.com/questions/49859457/how-to-reinstall-the-latest-cmake-version
https://www.jianshu.com/p/5220d12b15e3
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/282197.html