# 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## Package facts

- **Package key:** brew:quantlib
- **Package manager:** Homebrew
- **Version:** 1.43
- **Source summary:** Library for quantitative finance
- **Homepage:** <https://www.quantlib.org/>
- **Repository:** <https://github.com/lballabio/quantlib>
- **Last updated:** 2026-07-14T10:40:12Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

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

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.43

## Security Notes

library-like package without higher-risk signals.

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

## 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/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)


## Sources

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