# 使用 Homebrew, apt, dnf, Nix 安装 bgpdump

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bgpdump
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install bgpdump
```

  证据: 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
```

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:bgpdump
- **软件包管理器:** Homebrew
- **版本:** 1.6.2
- **来源摘要:** C library for analyzing MRT/Zebra/Quagga dump files
- **主页:** <https://github.com/RIPE-NCC/bgpdump/wiki>
- **仓库:** <https://github.com/RIPE-NCC/bgpdump>
- **最后更新:** 2026-07-28T12:58:47+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bgpdump (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.6.2
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

- 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.

### 来源

- <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


## 安全说明

library-like package without higher-risk signals.

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

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

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


## 来源

- 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
