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

Installing CMake

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Use the SFTP tool to upload the CMake installation package to the /path/to/CMAKE directory.
  3. Run the following command to decompress the CMake installation package:

    cd /path/to/AUGUSTUS && tar -zxf cmake-3.8.1.tar.gz

  4. Run the following command to switch to the directory generated after decompression:

    cd cmake-3.8.1

  5. Run the following command to perform configuration:

    ./configure --prefix=/path/to/AUGUSTUS/cmake

  6. Run the following commands to perform compilation and installation:

    make

    make install

  7. Run the following command to set CMake environment variables:

    export PATH=/path/to/cmake/bin:$PATH