我要评分
获取效率
正确性
完整性
易理解

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.