# bgpq3 mit Homebrew, apt, dnf, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für bgpq3 in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:bgpq3
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install bgpq3
```

  Evidenz: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install bgpq3
```

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

- dnf (92%):

```sh
sudo dnf install bgpq3
```

  Evidenz: Fedora Rawhide package metadata: bgpq3 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#bgpq3
```

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

## Paketfakten

- **Paketschlüssel:** brew:bgpq3
- **Paketmanager:** Homebrew
- **Version:** 0.1.38
- **Quellzusammenfassung:** BGP filtering automation for Cisco, Juniper, BIRD and OpenBGPD routers
- **Homepage:** <http://snar.spb.ru/prog/bgpq3/>
- **Repository:** <https://github.com/snar/bgpq3>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- bgpq3 (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.1.38
## Projektgeschichte und Nutzung

bgpq3 is a command-line BGP filter generator for turning Internet Routing Registry data into router policy snippets. Its niche is operational rather than decorative: it helps network operators convert AS sets, route sets, and prefixes into vendor-specific prefix lists, route filters, AS-path lists, and related configuration.

### Projektgeschichte

The public repository history begins in 2007 with a commit described as a complete rewrite of bgpq, making bgpq3 the maintained successor in that small family of IRR-to-router-policy tools. The README documents output modes for Cisco, Juniper, BIRD, OpenBGPD, Nokia SR OS, Huawei, JSON, and user-defined formats, reflecting years of operator-driven feature accretion rather than a one-time utility script.

The changelog shows bgpq3 tracking the operational realities of BGP: 32-bit ASNs, AS23456 transition handling, private/documentation ASNs, IPv6, route-server behavior, vendor-specific syntax, and IRRd query behavior. Later releases added and refined OpenBGPD, Nokia, Huawei, Juniper route-filter-list, mixed address-family, and JunOS as-list support.

### Adoptionsgeschichte

The package has escaped a single-source niche: the input metadata lists packages in Homebrew, Debian, Fedora/DNF, Nix, and Ubuntu. The changelog also credits reports or contributions from network operators and routing-tool maintainers including Job Snijders, Claudio Jeker, Denis Fondras, and others, which is the adoption pattern typical of infrastructure CLI tools.

### Wie es verwendet wird

Operators invoke bgpq3 with ASNs, AS sets, route sets, or prefixes and choose output flags for the target routing platform. Common use cases include generating Juniper prefix lists, Cisco prefix lists or AS-path access lists, BIRD filters, OpenBGPD sets, JSON output, and filtered IRR source queries against a whois/IRRd server.

### Warum Paket-Nerds sich dafür interessieren

For package and network-ops nerds, bgpq3 is valuable because it packages an awkward operational workflow into a reproducible Unix command: pull IRR objects, expand recursive AS sets, aggregate prefixes when possible, and emit router configuration that can be reviewed or automated. It sits at the intersection of package-manager convenience and BGP hygiene.

### Zeitleiste

- 2007: Public repository history starts with a complete rewrite of bgpq into bgpq3.
- 2014: BIRD output support and JSON/as-path improvements appear in the changelog.
- 2016: OpenBGPD output support lands.
- 2018: Nokia SR OS, Huawei output, OpenBGPD prefix-set, and Juniper route-filter-list work are recorded.
- 2021: Version 0.1.36 adds route-server import AS-path handling and more vendor fixes.
- 2025: Version 0.1.38 updates IRRd answer handling and JunOS as-list support.

### Related projects

- bgpq4 is the direct successor/fork line for users who want the newer bgpq implementation. Related routing targets and data sources include IRRd/RADB-style IRR databases, BIRD, OpenBGPD, Cisco IOS/IOS XR, Juniper JunOS, Nokia SR OS, and Huawei router syntax.

### Quellen

- <https://api.github.com/repos/snar/bgpq3>
- <https://github.com/snar/bgpq3#readme>
- <https://raw.githubusercontent.com/snar/bgpq3/master/CHANGES>
- input.source_facts.package-manager


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

- Debian apt - bgpq3 - 0.1.36.1-1: normalized package name match | Debian stable package indexes: bgpq3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | automatic BGP filter generator using RADB data | http://snar.spb.ru/prog/bgpq3/
- Nix - bgpq3: normalized package name match | nixpkgs package indexes: pkgs/by-name/bg/bgpq3/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - bgpq3 - 0.1.36.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: bgpq3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | automatic BGP filter generator using RADB data | http://snar.spb.ru/prog/bgpq3/
- dnf - bgpq3 - 0.1.38-4.fc45: normalized package name match | Fedora Rawhide package metadata: bgpq3 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Automate BGP filter generation based on routing database information | http://snar.spb.ru/prog/bgpq3/


## Combined YAML source

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


## Quellen

- 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
