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

Installing MPC

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following commands to decompress the MPC installation package:
    tar -xvf mpc-1.0.3.tar.gz
  3. Run the following command to go to MPC source code directory:
    cd mpc-1.0.3
  4. Run the following commands to perform compilation and installation:
    ./configure --prefix=/path/to/MPC --with-gmp=/path/to/GMP --with-mpfr=/path/to/MPFR
    make
    make install
  5. Run the following command to set the environment variable:
    export LD_LIBRARY_PATH=/path/to/MPC/lib:$LD_LIBRARY_PATH