Installing System Compilation Software
This section describes how to install compilation software such as G++ 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 a server as the root user.
- Run the following command to install the software:
1yum install cmake automake libtool libevent libevent-devel gcc-c++ git
- Verify the installation. The following uses CMake as an example.
1cmake --versionIf the version is 3.22.0 or later, the installation is successful.
1cmake version 3.22.0
Parent topic: Compilation Environment Configuration