Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt 安装 gsl

查看 gsl 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gsl

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install gsl

MacPorts ports tree · math/gsl/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add gsl

Alpine Linux edge package indexes · gsl · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install gsl

Fedora Rawhide package metadata · gsl · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#gsl

nixpkgs package indexes · pkgs/by-name/gs/gsl/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S gsl

Arch Linux sync databases · gsl · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install gsl

openSUSE Tumbleweed package metadata · gsl · 来源: download.opensuse.org

Debian apt已验证 · 92%
sudo apt install gsl-bin

Debian stable package indexes · gsl-bin · 来源: deb.debian.org

概览

软件包摘要

Numerical library for C and C++

命令和别名

  • gsl-config
  • gsl-histogram
  • gsl-randist

历史

项目历史与用法

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.

时间线

  • 1996: Project conceived and started at Los Alamos National Laboratory.
  • 1996: Early 0.0, 0.1, and 0.2 releases appeared.
  • 2001: First beta-test release 0.9 appeared in July.
  • 2001: Version 1.0 was released in November.
  • 2007: Version 1.9 was announced as a collection of well-tested C routines for numerical computing.
  • 2013: Version 1.16 closed the long 1.x era.
  • 2015: Version 2.0 began the 2.x line.
  • 2024: Version 2.8 was released in May.

Related projects

  • FFTPACK and QUADPACK are public-domain numerical packages whose algorithms informed parts of GSL's C implementations.
  • ATLAS is listed by the GSL page as a compatible tuned BLAS option for vector and matrix operations.
  • GLPK, FFTW, and NLopt are listed by the GSL page as other useful free-software packages for scientific computing.
  • Language wrappers such as R gsl, RcppGSL, PyGSL, Math::GSL, and Ruby/GSL show how the library became an implementation layer for higher-level ecosystems.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 10 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gsl-configcli全局可执行文件
gsl-histogramcli全局可执行文件
gsl-randistcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本2.8
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.gnu.org/software/gsl/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://www.gnu.org/software/gsl/none 置信度

安装元数据

软件包元数据

软件包键brew:gsl
版本2.8
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/gsl
主页https://www.gnu.org/software/gsl/
仓库https://git.savannah.gnu.org/git/gsl.git
上游文档https://www.gnu.org/software/gsl/doc/html
许可证GPL-3.0-or-later
源码归档https://ftpmirror.gnu.org/gnu/gsl/gsl-2.8.tar.gz
Bottle可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegsl
Aliases
  • gnu-scientific-library
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

gsl-bin 2.8+dfsg-5

GNU Scientific Library (GSL) -- binary package

https://www.gnu.org/software/gsl

sudo apt install gsl-bin
  • Section: math
  • Architecture: amd64
  • Source Package: gsl
  • 2 依赖
  • normalized package name match
  • 匹配方式:Gsl
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gsl-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgsl-dbg 2.8+dfsg-5

GNU Scientific Library (GSL) -- debug symbols package

https://www.gnu.org/software/gsl

sudo apt install libgsl-dbg
  • Section: debug
  • Architecture: amd64
  • Source Package: gsl
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gsl
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgsl-dbg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgsl-dev 2.8+dfsg-5

GNU Scientific Library (GSL) -- development package

https://www.gnu.org/software/gsl

sudo apt install libgsl-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gsl
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gsl
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgsl-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgsl28 2.8+dfsg-5

GNU Scientific Library (GSL) -- library package

https://www.gnu.org/software/gsl

sudo apt install libgsl28
  • Section: libs
  • Architecture: amd64
  • Source Package: gsl
  • 2 依赖
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Gsl
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgsl28 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgslcblas0 2.8+dfsg-5

GNU Scientific Library (GSL) -- blas library package

https://www.gnu.org/software/gsl

sudo apt install libgslcblas0
  • Section: libs
  • Architecture: amd64
  • Source Package: gsl
  • 1 依赖
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Gsl
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgslcblas0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gsl

nix profile install nixpkgs#gsl
  • normalized package name match
  • 匹配方式:Gsl
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gs/gsl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gsl-bin 2.7.1+dfsg-6ubuntu2

GNU Scientific Library (GSL) -- binary package

https://www.gnu.org/software/gsl

sudo apt install gsl-bin
  • Section: universe/math
  • Architecture: amd64
  • Source Package: gsl
  • 2 依赖
  • normalized package name match
  • 匹配方式:Gsl
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gsl-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libgsl-dbg 2.7.1+dfsg-6ubuntu2

GNU Scientific Library (GSL) -- debug symbols package

https://www.gnu.org/software/gsl

sudo apt install libgsl-dbg
  • Section: universe/debug
  • Architecture: amd64
  • Source Package: gsl
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gsl
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgsl-dbg from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libgsl-dev 2.7.1+dfsg-6ubuntu2

GNU Scientific Library (GSL) -- development package

https://www.gnu.org/software/gsl

sudo apt install libgsl-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: gsl
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gsl
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgsl-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libgsl27 2.7.1+dfsg-6ubuntu2

GNU Scientific Library (GSL) -- library package

https://www.gnu.org/software/gsl

sudo apt install libgsl27
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: gsl
  • 2 依赖
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Gsl
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgsl27 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libgslcblas0 2.7.1+dfsg-6ubuntu2

GNU Scientific Library (GSL) -- blas library package

https://www.gnu.org/software/gsl

sudo apt install libgslcblas0
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: gsl
  • 1 依赖
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Gsl
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgslcblas0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

gsl 2.8-r0

Modern numerical library for C and C++ programmers

https://www.gnu.org/software/gsl/gsl.html

sudo apk add gsl
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gsl
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gsl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gsl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gsl-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-dev
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gsl
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gsl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gsl-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gsl-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-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gsl
  • normalized package name match
  • 匹配方式:Gsl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gsl-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gsl-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-static
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gsl
  • normalized package name match
  • 匹配方式:Gsl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gsl-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

gsl 2.8-3.fc44

The GNU Scientific Library for numerical analysis

https://www.gnu.org/software/gsl/

sudo dnf install gsl
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: gsl
  • 4 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Gsl
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gsl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment