# 使用 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/bgpdump>
- **版本:** 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>
- **上游文档:** <https://github.com/RIPE-NCC/bgpdump/wiki>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://github.com/RIPE-NCC/bgpdump/releases/download/v1.6.2/libbgpdump-1.6.2.tgz>
- **最后更新:** 2026-07-28T12:58:47+09:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- bgpdump (cli)
- bgpdump (别名)

## macOS 提供的库

- bzip2

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.6.2
- 管理器更新时间: 2026-07-28
- 本地数据: OK
- 上游仓库: https://github.com/RIPE-NCC/bgpdump
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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

## 源数据库详情

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

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

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | MRT file reader for handling BGP related data | https://github.com/RIPE-NCC/bgpdump/wiki


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Documentation packages](https://pkg.so/zh-hans/documentation-tools/) - Matched documentation, manual, or publishing metadata.
- [monocle](https://pkg.so/zh-hans/brew/monocle/) - Shares pkgdb curated category or tags: bgp, cli, networking, routing.
- [bgpq4](https://pkg.so/zh-hans/brew/bgpq4/) - Shares pkgdb curated category or tags: bgp, cli, networking, routing.
- [bgpstream](https://pkg.so/zh-hans/brew/bgpstream/) - Shares pkgdb curated category or tags: bgp, cli, networking, routing.
- [bgpq3](https://pkg.so/zh-hans/brew/bgpq3/) - Shares pkgdb curated category or tags: bgp, cli, networking, routing.
- [libpsl](https://pkg.so/zh-hans/brew/libpsl/) - Shares pkgdb curated category or tags: c-library, cli, networking.
- [gsasl](https://pkg.so/zh-hans/brew/gsasl/) - Shares pkgdb curated category or tags: c-library, cli, networking.
- [nghttp2](https://pkg.so/zh-hans/brew/nghttp2/) - Shares pkgdb curated category or tags: c-library, cli, networking.
- [ldns](https://pkg.so/zh-hans/brew/ldns/) - Shares pkgdb curated category or tags: c-library, cli, networking.
- [asn](https://pkg.so/zh-hans/brew/asn/) - Local package facts share a topical domain. Shared terms: bgp, cli, networking.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
