# Install quantlib with Homebrew, Nix, apt, dnf, MacPorts

Library for quantitative finance. Version 1.43 via Homebrew; verified 2026-07-14. Also installable with debian: sudo apt install libquantlib0-dev.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install quantlib
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install QuantLib
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: Fedora Rawhide package metadata: QuantLib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

## Package facts

- **Package key:** brew:quantlib
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/quantlib>
- **Version:** 1.43
- **Source summary:** Library for quantitative finance
- **Homepage:** <https://www.quantlib.org/>
- **Repository:** <https://github.com/lballabio/QuantLib>
- **Upstream docs:** <https://www.quantlib.org/>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/lballabio/QuantLib/releases/download/v1.43/QuantLib-1.43.tar.gz>
- **Last updated:** 2026-07-14T10:40:12Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- quantlib-config (cli)
- quantlib-test-suite (cli)
- quantlib-config (alias)
- quantlib-test-suite (alias)

## Dependencies

- boost

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 1.43
- Package-manager updated: 2026-07-14
- Local data: ok
- Upstream repository: https://github.com/lballabio/QuantLib
- info: No cached GitHub release or tag data was available.

## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** quantlib
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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


## Related links

- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://pkg.so/scientific-computing-tools/) - Matched scientific computing metadata.
- [Homebrew utility packages](https://pkg.so/brew-utility-packages/) - Matched Homebrew package provider.
- [geos](https://pkg.so/brew/geos/) - Shares pkgdb curated category or tags: c-plus-plus, cli, library, science.
- [sfcgal](https://pkg.so/brew/sfcgal/) - Shares pkgdb curated category or tags: c-plus-plus, cli, library, science.
- [libdap](https://pkg.so/brew/libdap/) - Shares pkgdb curated category or tags: c-plus-plus, cli, library, science.
- [kim-api](https://pkg.so/brew/kim-api/) - Shares pkgdb curated category or tags: c-plus-plus, cli, library, science.
- [ginac](https://pkg.so/brew/ginac/) - Shares pkgdb curated category or tags: c-plus-plus, cli, library, science.
- [voro++](https://pkg.so/brew/voro/) - Shares pkgdb curated category or tags: c-plus-plus, cli, library, science.
- [clhep](https://pkg.so/brew/clhep/) - Shares pkgdb curated category or tags: c-plus-plus, cli, library, science.
- [ccfits](https://pkg.so/brew/ccfits/) - Shares pkgdb curated category or tags: c-plus-plus, cli, library, science.
- [papilo](https://pkg.so/brew/papilo/) - Local package facts share a topical domain. Shared terms: boost, c-plus-plus, cli, plus, science.
- [votca](https://pkg.so/brew/votca/) - Local package facts share a topical domain. Shared terms: boost, c-plus-plus, cli, plus, science.

## Combined YAML source

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


## Sources

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