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

Installing CMake

  1. Use PuTTY to log in to the server as the root user.
  2. Decompress the CMake installation package.
    tar zxvf cmake-3.17.3.tar.gz
  3. Go to the directory generated after the decompression.
    cd cmake-3.17.3
  4. Perform the compilation and installation.
    ./configure -prefix=/path/to/CMAKE
    make -j 32
    make install
  5. Set the CMake environment variables.
    export PATH=/path/to/CMAKE/bin:$PATH