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

Installing CMake

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the CMake installation directory.
    cd /path/to/CMAKE
  3. Decompress the CMake installation package.
    tar -xvf cmake-3.21.2-linux-aarch64.tar.gz
  4. Go to the directory generated after the decompression.
    cd cmake-3.21.2-linux-aarch64
  5. Import the environment variables.
    export PATH=/path/to/CMAKE/cmake-3.21.2-linux-aarch64/bin:$PATH
  6. Check whether CMake is installed.
    cmake -version

    If the following information is displayed, the installation is successful: