Introduction to Gsl
The GNU Scientific Library (GSL) is a numerical library for C and
C++ programmers. It provides a wide range of mathematical routines
such as random number generators, special functions and
least-squares fitting.
Note
Development versions of BLFS may not build or run some packages
properly if LFS or dependencies have been updated since the most
recent stable versions of the books.
Package Information
-
Download (HTTP): https://ftp.gnu.org/gnu/gsl/gsl-2.7.1.tar.gz
-
Download MD5 sum: 36aee97e67f64dbdab7afae197e3483b
-
Download size: 7.2 MB
-
Estimated disk space required: 213 MB (with tests, without
docs)
-
Estimated build time: 1.2 SBU (Using parallelism=4; with
tests, without docs)
Gsl Dependencies
Optional
sphinx_rtd_theme-2.0.0
Installation of Gsl
Install Gsl by running the
following commands:
./configure --prefix=/usr --disable-static &&
make
If you have sphinx_rtd_theme-2.0.0 installed,
build the documentation with:
make html
To test the results, issue: make
check.
Now, as the root
user:
make install
If you built the documentation, install it (as root
) with:
mkdir /usr/share/doc/gsl-2.7.1 &&
cp -R doc/_build/html/* /usr/share/doc/gsl-2.7.1