# libnl を Homebrew, Nix, pacman でインストール

libnl のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:libnl
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install libnl
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#libnl
```

  証拠: nixpkgs package indexes: pkgs/by-name/li/libnl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S libnl
```

  証拠: Arch Linux sync databases: libnl from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:libnl
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/libnl>
- **バージョン:** 3.12.0
- **ソース概要:** Netlink Library Suite
- **ホームページ:** <https://github.com/thom311/libnl>
- **リポジトリ:** <https://github.com/thom311/libnl>
- **上流ドキュメント:** <https://github.com/thom311/libnl/tree/main/doc>
- **ライセンス:** LGPL-2.1-or-later
- **ソースアーカイブ:** <https://github.com/thom311/libnl/releases/download/libnl3_12_0/libnl-3.12.0.tar.gz>
- **生成日時:** 2026-07-08T07:18:31+00:00

## 実行可能ファイル

- genl-ctrl-list (cli)
- idiag-socket-details (cli)
- nf-ct-add (cli)
- nf-ct-events (cli)
- nf-ct-list (cli)
- nf-exp-add (cli)
- nf-exp-delete (cli)
- nf-exp-list (cli)
- nf-log (cli)
- nf-monitor (cli)
- nf-queue (cli)
- nl-addr-add (cli)
- nl-addr-delete (cli)
- nl-addr-list (cli)
- nl-class-add (cli)
- nl-class-delete (cli)
- nl-class-list (cli)
- nl-classid-lookup (cli)
- nl-cls-add (cli)
- nl-cls-delete (cli)
- nl-cls-list (cli)
- nl-fib-lookup (cli)
- nl-link-enslave (cli)
- nl-link-ifindex2name (cli)
- nl-link-list (cli)
- nl-link-name2ifindex (cli)
- nl-link-release (cli)
- nl-link-set (cli)
- nl-link-stats (cli)
- nl-list-caches (cli)
- nl-list-sockets (cli)
- nl-monitor (cli)
- nl-neigh-add (cli)
- nl-neigh-delete (cli)
- nl-neigh-list (cli)
- nl-neightbl-list (cli)
- nl-nh-list (cli)
- nl-pktloc-lookup (cli)
- nl-qdisc-add (cli)
- nl-qdisc-delete (cli)
- nl-qdisc-list (cli)
- nl-route-add (cli)
- nl-route-delete (cli)
- nl-route-get (cli)
- nl-route-list (cli)
- nl-rule-list (cli)
- nl-tctree-list (cli)
- nl-util-addr (cli)
- genl-ctrl-list (エイリアス)
- idiag-socket-details (エイリアス)
- nf-ct-add (エイリアス)
- nf-ct-events (エイリアス)
- nf-ct-list (エイリアス)
- nf-exp-add (エイリアス)
- nf-exp-delete (エイリアス)
- nf-exp-list (エイリアス)
- nf-log (エイリアス)
- nf-monitor (エイリアス)
- nf-queue (エイリアス)
- nl-addr-add (エイリアス)
- nl-addr-delete (エイリアス)
- nl-addr-list (エイリアス)
- nl-class-add (エイリアス)
- nl-class-delete (エイリアス)
- nl-class-list (エイリアス)
- nl-classid-lookup (エイリアス)
- nl-cls-add (エイリアス)
- nl-cls-delete (エイリアス)
- nl-cls-list (エイリアス)
- nl-fib-lookup (エイリアス)
- nl-link-enslave (エイリアス)
- nl-link-ifindex2name (エイリアス)
- nl-link-list (エイリアス)
- nl-link-name2ifindex (エイリアス)
- nl-link-release (エイリアス)
- nl-link-set (エイリアス)
- nl-link-stats (エイリアス)
- nl-list-caches (エイリアス)
- nl-list-sockets (エイリアス)
- nl-monitor (エイリアス)
- nl-neigh-add (エイリアス)
- nl-neigh-delete (エイリアス)
- nl-neigh-list (エイリアス)
- nl-neightbl-list (エイリアス)
- nl-nh-list (エイリアス)
- nl-pktloc-lookup (エイリアス)
- nl-qdisc-add (エイリアス)
- nl-qdisc-delete (エイリアス)
- nl-qdisc-list (エイリアス)
- nl-route-add (エイリアス)
- nl-route-delete (エイリアス)
- nl-route-get (エイリアス)
- nl-route-list (エイリアス)
- nl-rule-list (エイリアス)
- nl-tctree-list (エイリアス)
- nl-util-addr (エイリアス)

## ビルド依存関係

- bison
- flex
- pkgconf

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 3.12.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/thom311/libnl
- 情報: No package-manager update timestamp was available.
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

libnl is the Netlink Protocol Library Suite, a set of C libraries for Linux applications that talk to kernel netlink interfaces. Netlink replaced many ioctl-style networking control paths with a message-based IPC mechanism between user space and the kernel.

### プロジェクトの歴史

The Infradead project page describes libnl as a suite split into smaller libraries: libnl for socket and message fundamentals, libnl-route for NETLINK_ROUTE interfaces, libnl-genl for generic netlink, and libnl-nf for netfilter interfaces. The split is explicitly intended to avoid forcing every application to link one large library.

The project history includes a long-lived 1.1.x branch and a 3.x branch. The Infradead page warns that 1.1.x support is limited and tells new applications to target libnl3, while also documenting distribution package names for CentOS, Debian, Fedora, OpenSUSE, Slackware, and Ubuntu.

### 採用の歴史

libnl became a standard dependency for Linux networking software that needed structured access to routes, addresses, links, traffic control, generic netlink families, and netfilter state. Its inclusion in many distribution package sets reflects netlink's role as the Linux kernel's preferred extensible networking control API.

### 使われ方

Callers use libnl core primitives for netlink sockets, message construction, parsing, send, receive, and cache handling, then add family-specific libraries when they need route, generic netlink, or netfilter support. The Homebrew package exposes many nl-* and nf-* command-line helpers around those APIs.

### パッケージ好きにとっての重要性

libnl matters to package maintainers because it is Linux-specific, ABI-sensitive, and central to network managers, firewall tools, wireless stacks, containers, and low-level diagnostics. The project's documented SONAME problems in releases 3.2.18 and 3.2.19 show why distributions track its ABI carefully.

### タイムライン

- 1.1.x era: The project maintained a stable branch but later advised new applications to use libnl3.
- 3.2.10: The project reverted an unnecessary SONAME bump after discussion to reduce distribution-maintainer pain.
- 3.2.18-3.2.19: The project documented an incorrect SONAME that required affected binaries to be relinked for compatibility with 3.2.20 and later.
- 2014-07-16: The Infradead project page records libnl 3.2.25 as released.

### Related projects

- Related kernel interfaces include netlink, NETLINK_ROUTE, generic netlink, and netfilter.
- The libnl suite's related libraries include libnl, libnl-route, libnl-genl, and libnl-nf.

### ソース

- <https://github.com/thom311/libnl>
- <https://www.infradead.org/~tgr/libnl/>


## セキュリティノート

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:** libnl
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** linux
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 他のパッケージマネージャ記録

- Nix - libnl: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libnl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - libnl - 3.12.0-1: normalized package name match | Arch Linux sync databases: libnl from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz | Library for applications dealing with netlink sockets | https://github.com/thom311/libnl/


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/ja/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [bison](https://www.automicvault.com/ja/pkg/brew/bison/) - Build dependency declared by Homebrew.
- [flex](https://www.automicvault.com/ja/pkg/brew/flex/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/ja/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [iproute2](https://www.automicvault.com/ja/pkg/brew/iproute2/) - Shares av.db curated category or tags: cli, linux, netlink, networking.
- [net-tools](https://www.automicvault.com/ja/pkg/brew/net-tools/) - Shares av.db curated category or tags: cli, linux, networking.
- [gensio](https://www.automicvault.com/ja/pkg/brew/gensio/) - Shares av.db curated category or tags: c-library, cli, networking.
- [gsasl](https://www.automicvault.com/ja/pkg/brew/gsasl/) - Shares av.db curated category or tags: c-library, cli, networking.
- [iputils](https://www.automicvault.com/ja/pkg/brew/iputils/) - Shares av.db curated category or tags: cli, linux, networking.
- [ldns](https://www.automicvault.com/ja/pkg/brew/ldns/) - Shares av.db curated category or tags: c-library, cli, networking.
- [libdnet](https://www.automicvault.com/ja/pkg/brew/libdnet/) - Shares av.db curated category or tags: c-library, cli, networking.
- [libpcap](https://www.automicvault.com/ja/pkg/brew/libpcap/) - Shares av.db curated category or tags: c-library, cli, networking.

## Combined YAML source

View the package source record on GitHub. [combined/libnl.yml](https://github.com/automic-vault/db/blob/main/combined/libnl.yml)


## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
