Linux升级cmake

  1. 作者QQ:67065435 QQ群:821635552

  2. 卸载旧版cmake

    yum remove cmake
    
  3. 获取源码

    cd /root
    wget https://github.com/Kitware/CMake/releases/download/v3.16.5/cmake-3.16.5.tar.gz
    tar -zxvf cmake-3.16.5.tar.gz
    
  4. 编译安装源码

    cd /root/cmake-3.16.5
    ./bootstrap
    make
    make install
    
  5. 环境变量

    source /etc/profile
    
  6. 测试结果

    cmake -version
    
Copyright © 豆包嘿嘿~ 2012-∞ 冀ICP备17033181号 all right reserved,powered by Gitbook修订: 2012-12-31 12:00:00

results matching ""

    No results matching ""