# 使用 Homebrew, Nix, apt, dnf, MacPorts 安装 quantlib

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

## 安装

```sh
sudo av install brew:quantlib
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install quantlib
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install QuantLib
```

  证据: MacPorts ports tree: finance/QuantLib/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#quantlib
```

  证据: nixpkgs package indexes: pkgs/by-name/qu/quantlib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Debian apt (92%):

```sh
sudo apt install libquantlib0-dev
```

  证据: Debian stable package indexes: libquantlib0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install QuantLib
```

  证据: Fedora Rawhide package metadata: QuantLib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## 软件包事实

- **软件包键:** brew:quantlib
- **软件包管理器:** Homebrew
- **版本:** 1.43
- **来源摘要:** Library for quantitative finance
- **主页:** <https://www.quantlib.org/>
- **仓库:** <https://github.com/lballabio/quantlib>
- **最后更新:** 2026-07-14T10:40:12Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- quantlib-config (别名)
- quantlib-test-suite (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.43

## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 其他软件包管理器记录

- Debian apt - libquantlib0-dev - 1.38-1: normalized package name match | Debian stable package indexes: libquantlib0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Quantitative Finance Library -- development package | https://www.quantlib.org
- Debian apt - libquantlib0v5 - 1.38-1: normalized package name match | Debian stable package indexes: libquantlib0v5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Quantitative Finance Library -- library package | https://www.quantlib.org
- Debian apt - quantlib-examples - 1.38-1: normalized package name match | Debian stable package indexes: quantlib-examples from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Quantitative Finance Library -- example binaries | https://www.quantlib.org
- Nix - quantlib: normalized package name match | nixpkgs package indexes: pkgs/by-name/qu/quantlib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libquantlib0-dev - 1.33-1: normalized package name match | Ubuntu 24.04 LTS package indexes: libquantlib0-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Quantitative Finance Library -- development package | https://www.quantlib.org
- Ubuntu apt - libquantlib0v5 - 1.33-1: normalized package name match | Ubuntu 24.04 LTS package indexes: libquantlib0v5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Quantitative Finance Library -- library package | https://www.quantlib.org
- Ubuntu apt - quantlib-examples - 1.33-1: normalized package name match | Ubuntu 24.04 LTS package indexes: quantlib-examples from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Quantitative Finance Library -- example binaries | https://www.quantlib.org
- dnf - QuantLib - 1.42.1-2.fc45: normalized package name match | Fedora Rawhide package metadata: QuantLib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A software framework for quantitative finance | http://www.quantlib.org
- dnf - QuantLib-devel - 1.42.1-2.fc45: normalized package name match | Fedora Rawhide package metadata: QuantLib-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | QuantLib development files | http://www.quantlib.org
- dnf - QuantLib-doc - 1.42.1-2.fc45: normalized package name match | Fedora Rawhide package metadata: QuantLib-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | The documentation for QuantLib | http://www.quantlib.org
- dnf - QuantLib-test - 1.42.1-2.fc45: normalized package name match | Fedora Rawhide package metadata: QuantLib-test from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | The test-suite to check the setup of QuantLib | http://www.quantlib.org
- MacPorts - QuantLib: normalized package name match | MacPorts ports tree: finance/QuantLib/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/quantlib.yml](https://github.com/mxcl/pkgdb/blob/main/combined/quantlib.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
