This web page provides the source code for a portable, object-based Fortran interface to the GNU scientific library, a collection of numerical routines for scientific computing. The package is licensed under the GPL. Please be aware that use of this software package is at your own risk.

The code repository is maintained at Sourceforge. Users of FGSL are encouraged to send bug reports via the Sourceforge ticket system.

Previous releases

Further information

This section particularly discusses the installation procedures for the most common Linux distributions, as well as for MacOS X. Credits are due to Tom Schoonjans for providing the builds and the below information.

Redhat EL/Fedora/CentOS/Scientific Linux 6 distributions

Gain access to the repository with: Afterwards download the packages with:
su -c 'yum install fgsl fgsl-devel fgsl-doc'

Debian and Ubuntu

Import our public key:
curl | sudo apt-key add -
Next, add the package download location corresponding to your distribution to the /etc/apt/sources.list file (as root):
Update the apt cache with:
sudo apt-get update
Afterwards, you should be able to install fgsl with:
sudo apt-get install libfgsl0 libfgsl0-dev libfgsl0-doc


MacPorts provides builds of FGSL for installation on systems running MacOS X.

Alternatively, FGSL is also supported in Homebrew, a very popular (maybe even the most popular) package manager for Mac OS X nowadays. After installing Homebrew (instructions at, one can install FGSL simply with:

brew install homebrew/science/fgsl

Forum article

The August 2007 edition of SIGPLAN Fortran Forum contains an article on some aspects of FGSL. A correction for an error in a section of this article which describes some ideas for future developments is also available.