macOS
brew install gsllocal Homebrew formula metadata
sudo port install gslMacPorts ports tree · math/gsl/Portfile · source: api.github.com
brew
Numerical library for C and C++. Version 2.8 via Homebrew; verified from local package data.
install
brew install gsllocal Homebrew formula metadata
sudo port install gslMacPorts ports tree · math/gsl/Portfile · source: api.github.com
sudo apk add gslAlpine Linux edge package indexes · gsl · source: dl-cdn.alpinelinux.org
sudo apt install gsl-binDebian stable package indexes · gsl-bin · source: deb.debian.org
sudo dnf install gslFedora Rawhide package metadata · gsl · source: dl.fedoraproject.org
nix profile install nixpkgs#gslnixpkgs package indexes · pkgs/by-name/gs/gsl/package.nix · source: api.github.com
sudo pacman -S gslArch Linux sync databases · gsl · source: geo.mirror.pkgbuild.com
sudo zypper install gslopenSUSE Tumbleweed package metadata · gsl · source: download.opensuse.org
overview
Numerical library for C and C++
history
The GNU Scientific Library, usually abbreviated GSL, is a numerical library for C and C++ programmers. It supplies routines for numerical computing across random numbers, special functions, vectors and matrices, BLAS support, FFTs, eigensystems, statistics, interpolation, optimization, ordinary differential equations, sparse linear algebra, and other scientific-computing areas.
GSL is part of the GNU Project and is distributed under the GNU GPL. Its package-manager role is not just to install a library but to provide a stable, broadly packaged numerical substrate for C programs and bindings in higher-level languages.
The project was conceived in 1996 by M. Galassi and J. Theiler of Los Alamos National Laboratory. The GNU project page says they were joined by other physicists who believed existing library licenses hindered scientific cooperation.
GSL's design aimed to give C programmers a modern API while reimplementing reliable public-domain numerical packages such as FFTPACK and QUADPACK in C with modern coding conventions. That made it a bridge between classic numerical methods and free-software packaging practices.
Major design and implementation work was carried out by G. Jungman and B. Gough, with modules by J. Davies, R. Priedhorsky, M. Booth, F. Rossi, P. Alken, and other contributors. The project page also notes long-running Debian package maintenance by D. Eddelbuettel.
The release history shows a long beta period from 1996 through 2001, version 1.0 in November 2001, steady 1.x releases through 2013, and the 2.x line beginning in October 2015.
GSL spread through both operating-system packages and language bindings. The GNU page says precompiled binary packages are included in most GNU/Linux distributions and that a compiled version is available through Cygwin on Windows.
The project page lists many extensions, wrappers, and applications around GSL, including bindings for Java, Perl, Common Lisp, Python, Ruby, R, S-Lang, OCaml, and C++ wrappers, plus scientific applications and textbooks that use the library.
This adoption pattern made GSL a familiar dependency in research tooling: one package gives distributions a consistent set of numerical routines, and language ecosystems can wrap the same tested C implementation rather than carrying separate implementations.
Developers link against GSL from C or C++ and include the relevant headers for the routine families they need. The package also provides small command-line utilities such as gsl-config, gsl-histogram, and gsl-randist for build integration and quick numerical tasks.
The official manual emphasizes example programs and references for each chapter. This reflects GSL's niche: it is not a monolithic numerical environment, but a library of callable routines that can be composed inside scientific applications.
GSL matters to package people because it is a classic GNU library where licensing, ABI stability, scientific correctness, and distro availability all intersect. Its GPL status is a deliberate policy choice: the GNU page frames the license as supporting scientific cooperation and warns that redistributed programs using it need GPL-compatible terms.
It also has the kind of long release line package maintainers like to see: explicit release history, a stable API emphasis, a Savannah repository, mailing lists, a reference manual, and many downstream wrappers that depend on stable headers and library behavior.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gsl-config | cli | global executable | |
gsl-histogram | cli | global executable | |
gsl-randist | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://www.gnu.org/software/gsl/
install metadata
| Package key | brew:gsl |
|---|---|
| Version | 2.8 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gsl |
| Homepage | https://www.gnu.org/software/gsl/ |
| Repository | https://git.savannah.gnu.org/git/gsl.git |
| Upstream docs | https://www.gnu.org/software/gsl/doc/html |
| License | GPL-3.0-or-later |
| Source archive | https://ftpmirror.gnu.org/gnu/gsl/gsl-2.8.tar.gz |
| Bottle | available (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gsl |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gsl-bin 2.8+dfsg-5
GNU Scientific Library (GSL) -- binary package
https://www.gnu.org/software/gsl
sudo apt install gsl-binlibgsl-dbg 2.8+dfsg-5
GNU Scientific Library (GSL) -- debug symbols package
https://www.gnu.org/software/gsl
sudo apt install libgsl-dbglibgsl-dev 2.8+dfsg-5
GNU Scientific Library (GSL) -- development package
https://www.gnu.org/software/gsl
sudo apt install libgsl-devlibgsl28 2.8+dfsg-5
GNU Scientific Library (GSL) -- library package
https://www.gnu.org/software/gsl
sudo apt install libgsl28libgslcblas0 2.8+dfsg-5
GNU Scientific Library (GSL) -- blas library package
https://www.gnu.org/software/gsl
sudo apt install libgslcblas0gsl
nix profile install nixpkgs#gslgsl-bin 2.7.1+dfsg-6ubuntu2
GNU Scientific Library (GSL) -- binary package
https://www.gnu.org/software/gsl
sudo apt install gsl-binlibgsl-dbg 2.7.1+dfsg-6ubuntu2
GNU Scientific Library (GSL) -- debug symbols package
https://www.gnu.org/software/gsl
sudo apt install libgsl-dbglibgsl-dev 2.7.1+dfsg-6ubuntu2
GNU Scientific Library (GSL) -- development package
https://www.gnu.org/software/gsl
sudo apt install libgsl-devlibgsl27 2.7.1+dfsg-6ubuntu2
GNU Scientific Library (GSL) -- library package
https://www.gnu.org/software/gsl
sudo apt install libgsl27libgslcblas0 2.7.1+dfsg-6ubuntu2
GNU Scientific Library (GSL) -- blas library package
https://www.gnu.org/software/gsl
sudo apt install libgslcblas0gsl 2.8-r0
Modern numerical library for C and C++ programmers
https://www.gnu.org/software/gsl/gsl.html
sudo apk add gslgsl-dev 2.8-r0
Modern numerical library for C and C++ programmers (development files)
https://www.gnu.org/software/gsl/gsl.html
sudo apk add gsl-devgsl-doc 2.8-r0
Modern numerical library for C and C++ programmers (documentation)
https://www.gnu.org/software/gsl/gsl.html
sudo apk add gsl-docgsl-static 2.8-r0
Modern numerical library for C and C++ programmers (static library)
https://www.gnu.org/software/gsl/gsl.html
sudo apk add gsl-staticgsl 2.8-3.fc44
The GNU Scientific Library for numerical analysis
https://www.gnu.org/software/gsl/
sudo dnf install gslsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.