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

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 go to the directory generated after decompression:
    cd gsl-2.6
  4. Run the following command to perform the configuration:
    ./configure --prefix=/path/to/GSL/gsl
  5. Run the following commands to perform the compilation:
    make -j 32
    make install
  6. 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