Installing GMP
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following commands to decompress the GMP installation package:
tar -xvf gmp-6.1.0.tar.bz2
- Run the following command to go to GMP source code directory:
cd gmp-6.1.0
- Run the following commands to perform compilation and installation:
./configure --prefix=/path/to/GMP make make install
- Run the following command to set the environment variable:
export LD_LIBRARY_PATH=/path/to/GMP/lib:$LD_LIBRARY_PATH
Parent topic: Setting Up the Environment for the Cluster Scenario