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 go to the directory generated after decompression:
cd gsl-2.6
- Run the following command to perform the configuration:
./configure --prefix=/path/to/GSL/gsl
- Run the following commands to perform the compilation:
make -j 32 make install
- Run the following commands to configure environment variables:
export LIBRARY_PATH=/path/to/GSL/gsl/lib:$LIBRARY_PATH export LD_LIBRARY_PATH=/path/to/GSL/gsl/lib:$LD_LIBRARY_PATH
Parent topic: Configuring the Compilation Environment