# Installer bgpq3 avec Homebrew, apt, dnf, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de bgpq3 pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install bgpq3
```

  Preuve: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install bgpq3
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:bgpq3
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.1.38
- **Résumé source:** BGP filtering automation for Cisco, Juniper, BIRD and OpenBGPD routers
- **Page d'accueil:** <http://snar.spb.ru/prog/bgpq3/>
- **Dépôt:** <https://github.com/snar/bgpq3>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- bgpq3 (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.1.38
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

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


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