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

Installing CMake

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to install dependencies:
    yum install boost boost-devel openssl-devel
  3. Run the following command to decompress the CMake installation package:
    tar -zxf cmake-3.17.5.tar.gz
  4. Run the following command to go to the directory generated after the decompression:
    cd cmake-3.17.5
  5. Run the following command to perform the configuration:
    ./configure --prefix=/path/to/CMAKE
  6. Run the following command to perform the compilation and installation:
    make -j&& make install
  7. Run the following command to set the CMake environment variable:
    export PATH=/path/to/CMAKE/bin:$PATH