Rate This Document
Findability
Accuracy
Completeness
Readability

Installing MPFR

Procedure

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