Installing CMake
Procedure
- Use PuTTY to log in to the server as the root user.
- Go to the CMake installation directory.
cd /path/to/CMAKE
- Decompress the CMake installation package.
tar -xvf cmake-3.21.2-linux-aarch64.tar.gz
- Go to the directory generated after the decompression.
cd cmake-3.21.2-linux-aarch64
- Import the environment variables.
export PATH=/path/to/CMAKE/cmake-3.21.2-linux-aarch64/bin:$PATH
- Check whether CMake is installed.
cmake -version
If the following information is displayed, the installation is successful:

Parent topic: Configuring the Compilation Environment