Installing GSL
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to decompress the GSL installation package:
tar -xvf gsl-2.6.tar.gz
- Run the following command to switch to the directory generated after decompression:
cd gsl-2.6
- Run the following command to perform configuration:
./configure --prefix=/path/to/EXTRA/gsl
- Run the following commands to perform compilation:
make make install
- Run the following commands to set environment variables:
export LIBRARY_PATH=/path/to/EXTRA/gsl/lib:$LIBRARY_PATH export LD_LIBRARY_PATH=/path/to/EXTRA/gsl/lib:$LD_LIBRARY_PATH
Parent topic: Configuring the Compilation Environment