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

Installing GSL

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to decompress the GSL installation package:
    tar -xvf gsl-2.6.tar.gz
  3. Run the following command to switch to the directory generated after decompression:
    cd gsl-2.6
  4. Run the following command to perform configuration:
    ./configure --prefix=/path/to/EXTRA/gsl
  5. Run the following commands to perform compilation:
    make
    make install
  6. 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