# Install bgpdump with Homebrew, apt, dnf, Nix

C library for analyzing MRT/Zebra/Quagga dump files. Version 1.6.2 via Homebrew; verified 2026-07-28. Also installable with debian: sudo apt install bgpdump.

## Install

```sh
sudo av install brew:bgpdump
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install bgpdump
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install bgpdump
```

  Evidence: Debian stable package indexes: bgpdump from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install bgpdump
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#bgpdump
```

  Evidence: nixpkgs package indexes: pkgs/by-name/bg/bgpdump/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:bgpdump
- **Package manager:** Homebrew
- **Version:** 1.6.2
- **Source summary:** C library for analyzing MRT/Zebra/Quagga dump files
- **Homepage:** <https://github.com/RIPE-NCC/bgpdump/wiki>
- **Repository:** <https://github.com/RIPE-NCC/bgpdump>
- **Last updated:** 2026-07-28T12:58:47+09:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- bgpdump (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.6.2
## Project history and usage

bgpdump is a RIPE NCC-maintained command-line utility and C library for parsing MRT files and dumps produced by Zebra or Quagga, used in BGP routing analysis workflows.

### Project history

The official README describes libBGPdump as a C library for analyzing Zebra/Quagga or MRT dump files. The ChangeLog shows maintenance history back to at least 2005, with work on IPv6 output, ASN32 support, TABLE_DUMP_V2, 32-bit ASN output, Darwin fixes, Add-Path support, BGP Large Communities, and later GitHub release/tag migration.

The current GitHub repository was created in October 2019 after earlier history on RIPE NCC infrastructure and Bitbucket, which the ChangeLog notes became the development home in 2011.

### Adoption history

bgpdump's adoption is mostly in network-operations and routing-research packaging rather than general developer tooling. The input records Homebrew, Debian, Ubuntu, Fedora, and Nix packages, consistent with a utility needed wherever MRT archives and BGP dump files are processed.

### How it is used

Users run bgpdump to decode MRT/BGP data into readable or machine-processable output, or link against the C library in routing-analysis software. It is especially relevant around Route Views, RIS, Zebra/Quagga-derived dumps, and archived BGP update/table data.

### Why package nerds care

bgpdump is package-nerd significant as infrastructure plumbing: small, old, format-specific, and kept alive because many routing datasets and analysis scripts depend on stable MRT parsing. Its history is less glamorous than newer CLIs, but it is exactly the kind of package that keeps network measurement tooling reproducible.

### Timeline

- 2005: ChangeLog records IPv6-prefix output fixes.
- 2006: ASN32 support added.
- 2007: TABLE_DUMP_V2 support added.
- 2011: Development moved to Bitbucket according to the ChangeLog.
- 2016: v1.5.0 released with security, crash, memory-leak, and thread-safety fixes.
- 2018: v1.6.0 released with large-record and quiet-mode fixes.
- 2019: GitHub repository created.
- 2020: v1.6.1/v1.6.2 release/tag migration and version fixes.

### Related projects

- Related projects include RIPE RIS tooling, CAIDA BGPStream, Route Views data tools, Zebra/Quagga and FRRouting, and other MRT/BGP parsers used in routing research.

### Sources

- <https://api.github.com/repos/RIPE-NCC/bgpdump>
- <https://raw.githubusercontent.com/RIPE-NCC/bgpdump/master/ChangeLog>
- <https://raw.githubusercontent.com/RIPE-NCC/bgpdump/master/README>
- source_facts.package-manager


## 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 - bgpdump - 1.6.2-3: normalized package name match | Debian stable package indexes: bgpdump from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Translate binary zebra/quagga/MRT files into readable output | https://github.com/RIPE-NCC/bgpdump
- Nix - bgpdump: normalized package name match | nixpkgs package indexes: pkgs/by-name/bg/bgpdump/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - bgpdump - 1.6.2-2: normalized package name match | Ubuntu 24.04 LTS package indexes: bgpdump from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Translate binary zebra/quagga/MRT files into readable output | https://github.com/RIPE-NCC/bgpdump
- dnf - bgpdump - 1.6.2-9.fc45: normalized package name match | Fedora Rawhide package metadata: bgpdump from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | MRT file reader for handling BGP related data | https://github.com/RIPE-NCC/bgpdump/wiki


## Combined YAML source

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


## Sources

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