Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, pacman 安装 libnl

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libnl

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#libnl

nixpkgs package indexes · pkgs/by-name/li/libnl/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S libnl

Arch Linux sync databases · libnl · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Netlink Library Suite

命令和别名

  • 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

历史

项目历史与用法

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.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 2 个平台目标。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
genl-ctrl-listcli全局可执行文件
idiag-socket-detailscli全局可执行文件
nf-ct-addcli全局可执行文件
nf-ct-eventscli全局可执行文件
nf-ct-listcli全局可执行文件
nf-exp-addcli全局可执行文件
nf-exp-deletecli全局可执行文件
nf-exp-listcli全局可执行文件
nf-logcli全局可执行文件
nf-monitorcli全局可执行文件
nf-queuecli全局可执行文件
nl-addr-addcli全局可执行文件
nl-addr-deletecli全局可执行文件
nl-addr-listcli全局可执行文件
nl-class-addcli全局可执行文件
nl-class-deletecli全局可执行文件
nl-class-listcli全局可执行文件
nl-classid-lookupcli全局可执行文件
nl-cls-addcli全局可执行文件
nl-cls-deletecli全局可执行文件
nl-cls-listcli全局可执行文件
nl-fib-lookupcli全局可执行文件
nl-link-enslavecli全局可执行文件
nl-link-ifindex2namecli全局可执行文件
nl-link-listcli全局可执行文件
nl-link-name2ifindexcli全局可执行文件
nl-link-releasecli全局可执行文件
nl-link-setcli全局可执行文件
nl-link-statscli全局可执行文件
nl-list-cachescli全局可执行文件
nl-list-socketscli全局可执行文件
nl-monitorcli全局可执行文件
nl-neigh-addcli全局可执行文件
nl-neigh-deletecli全局可执行文件
nl-neigh-listcli全局可执行文件
nl-neightbl-listcli全局可执行文件
nl-nh-listcli全局可执行文件
nl-pktloc-lookupcli全局可执行文件
nl-qdisc-addcli全局可执行文件
nl-qdisc-deletecli全局可执行文件
nl-qdisc-listcli全局可执行文件
nl-route-addcli全局可执行文件
nl-route-deletecli全局可执行文件
nl-route-getcli全局可执行文件
nl-route-listcli全局可执行文件
nl-rule-listcli全局可执行文件
nl-tctree-listcli全局可执行文件
nl-util-addrcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本3.12.0
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/thom311/libnl

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息No cached GitHub release or tag data was available.https://github.com/thom311/libnlnone 置信度

安装元数据

软件包元数据

软件包键brew:libnl
版本3.12.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libnl
主页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
构建依赖bison, flex, pkgconf
Bottle可用 (于 arm64_linux, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibnl
Version Scheme0
Revision0
Requirements
  • linux
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

libnl

nix profile install nixpkgs#libnl
  • normalized package name match
  • 匹配方式:Libnl
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libnl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

libnl 3.12.0-1

Library for applications dealing with netlink sockets

https://github.com/thom311/libnl/

sudo pacman -S libnl
  • License: LGPL-2.1-only
  • Architecture: x86_64
  • 2 依赖
  • 7 提供
  • normalized package name match
  • 匹配方式:Libnl
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: libnl from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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