Rate This Document
Findability
Accuracy
Completeness
Readability

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.

  1. Use PuTTY to log in to a server as the root user.
  2. Run the following command to install the software:
    1
    yum install cmake automake libtool libevent libevent-devel gcc-c++ git
    
  3. Verify the installation. The following uses CMake as an example.
    1
    cmake --version
    

    If the version is 3.22.0 or later, the installation is successful.

    1
    cmake version 3.22.0