Installing CMake
This section describes how to install CMake using the Yum repository. After the installation is complete, check whether the installed software version is the correct one.
- Use PuTTY to log in to the server as the root user.
- Install CMake.
1yum install cmake
- Verify the installation.
1cmake --versionThe installation is successful if the following information is displayed:
1 2
cmake version 3.22.0 CMake suite maintained and supported by Kitware (kitware.com/cmake).
Parent topic: Configuring the Compilation Environment