我要评分
获取效率
正确性
完整性
易理解

Installing CMake

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Download the CMake installation package.
    wget https://cmake.org/files/v3.8/cmake-3.8.1.tar.gz
  1. Decompress the installation package.
    tar -zxvf cmake-3.8.1.tar.gz
    cd cmake-3.8.1
  2. Perform the compilation and installation.
    ./configure --prefix=/path/to/CMAKE
    make -j64
    make install
  3. Set the environment variables.
    export PATH=/path/to/CMAKE/bin:$PATH