Rate This Document
Findability
Accuracy
Completeness
Readability

Configuring the Compilation Environment

  1. Install the GNU and configure environment variables.

    For details, see GNU 9.1 Installation Guide.

  2. Use PuTTY to log in to a server as the root user.
  3. Run the following commands to load the environment variables of GNU 9.1:
    export PATH=/path/to/GNU/bin:$PATH
    export LD_LIBRARY_PATH=/path/to/GNU/lib:$LD_LIBRARY_PATH
  4. Run the following command to install Boost:
    yum install boost* -y

    The Yum source is a local source of the CentOS 7.6 image. You can modify the files in the /etc/yum.repos.d directory as required.