macOS
brew install gslprovider-native install command
安装
brew install gslprovider-native install command
概览
Numerical library for C and C++
历史
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.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gsl-config | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
gsl-histogram | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
gsl-randist | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:gsl |
|---|---|
| 版本 | 2.8 |
| 软件包管理器 | Homebrew |
| 主页 | https://www.gnu.org/software/gsl/ |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.