gsl: The GNU Scientific Library#


The GNU Scientific Library


From the website above: The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers. It is free software under the GNU General Public License.

The library provides a wide range of mathematical routines such as random number generators, special functions and least-squares fitting. There are over 1000 functions in total with an extensive test suite. If the variable SAGE_CHECK is exported to the value “yes” when building Sage, GSL’s test suite is run.


  • GPL V3

Upstream Contact#

GSL mailing lists:

  • Bug-gsl <> mailing list – bug reports for the GNU Scientific Library should be sent to

  • Help-gsl <> users mailing list – for questions about installation, how GSL works and how it is used, or general questions concerning GSL.

  • Info-gsl <> mailing list – announcements of new releases are made there.

Special Update/Build Instructions#




Version Information#



Equivalent System Packages#

$ apk add gsl-dev
$ sudo pacman -S gsl
$ conda install gsl
$ apt-cyg install libgsl-devel
$ sudo apt-get install libgsl-dev
$ sudo yum install gsl gsl-devel
$ sudo pkg install math/gsl
$ sudo emerge sci-libs/gsl
$ brew install gsl
$ sudo port install gsl
$ nix-env --install gsl
$ sudo zypper install pkgconfig\(gsl\)
$ sudo slackpkg install gsl
$ sudo xbps-install gsl-devel


If the system package is installed, ./configure will check if it can be used.