Rate This Document
Findability
Accuracy
Completeness
Readability

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: