Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, Nix, pacman, zypper, dnf 安装 iproute2

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install iproute2

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add iproute2

Alpine Linux edge package indexes · iproute2 · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install iproute2

Debian stable package indexes · iproute2 · 来源: deb.debian.org

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

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

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

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

openSUSE zypper已验证 · 92%
sudo zypper install iproute2

openSUSE Tumbleweed package metadata · iproute2 · 来源: download.opensuse.org

Fedora dnf已验证 · 92%
sudo dnf install rdma-core

Fedora Rawhide package metadata · rdma-core · 来源: dl.fedoraproject.org

概览

软件包摘要

Linux routing utilities

命令和别名

  • ctstat
  • dcb
  • devlink
  • dpll
  • genl
  • lnstat
  • netshaper
  • nstat
  • rdma
  • routel
  • rtacct
  • rtmon
  • rtstat
  • tc
  • tipc
  • vdpa

历史

项目历史与用法

iproute2 is the Linux networking utility suite centered on ip and tc, used to configure addresses, routes, tunnels, neighbors, links, traffic control, and related kernel networking features.

项目历史

The Linux Foundation networking page describes iproute2 as a collection of utilities for TCP/IP networking and traffic control in Linux. It names Alexey Kuznetsov as the original author and connects his work to the Linux kernel QoS implementation, with maintenance by Stephen Hemminger.

The project became the modern Linux counterpart to older net-tools commands such as ifconfig and route. The same Linux Foundation page notes that many manuals continued to refer to older tools even though ifconfig behaved inadequately in modern environments, and it highlights iproute2's better coverage of modern networking features.

采用历史

iproute2's adoption is closely tied to Linux distribution defaults and kernel networking development. The Linux Foundation page says it is usually shipped as iproute or iproute2, with ip and tc as the most important tools, and that new versions are announced on the netdev mailing list.

Homebrew packages iproute2 as a Linux-only formula, which is fitting: the suite is not a portable Unix compatibility layer but a userspace face for Linux kernel netlink and traffic-control facilities.

使用方式

Administrators use iproute2 for address and link configuration, routing tables, policy routing, tunnels, neighbor entries, bridges, socket statistics, and traffic-control qdiscs/classes/filters. Its tools are accompanied by manpages and detailed usage messages, which suits both interactive repair and scripted provisioning.

The package exposes more of Linux networking than legacy tools because it tracks kernel features through netlink-oriented utilities. That makes it important in container hosts, routers, CI images, embedded Linux, network namespaces, and any environment where tc, ss, bridge, devlink, or rdma commands are part of operational vocabulary.

为什么软件包爱好者会关心

iproute2 is package-nerd infrastructure: many packages merely run on Linux, but iproute2 is how Linux networking is observed and shaped from user space. It also demonstrates a packaging boundary where the right target is Linux only, with dependencies such as libbpf, libmnl, elfutils, and kernel-header-adjacent build logic.

时间线

  • Project origin: Alexey Kuznetsov authors the suite around Linux routing, QoS, and traffic control work.
  • Maintenance era: Stephen Hemminger maintains the project through kernel.org and netdev workflows.
  • Distribution era: Linux distributions ship the suite as iproute or iproute2, with ip and tc as the central tools.
  • 2026: Homebrew formula metadata packages iproute2 7.1.0 for Linux ARM64 and x86_64 bottles.

Related projects

  • net-tools is the legacy tool family that iproute2 largely supersedes for modern Linux networking.
  • The Linux kernel networking stack, rtnetlink/netlink, libbpf, libmnl, and traffic-control subsystems are tightly related.
  • LARTC documentation and the netdev mailing list are part of the surrounding operational and development culture.

来源

  • Homebrew formula metadata supplies packaging target, Linux-only requirement, dependency shape, and formula version context.
  • The Linux Foundation networking page supplies project purpose, authorship, maintainer, replacement context, distribution names, main tools, and source workflow.
  • The input curation supplies documented configuration file paths from the existing batch record.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

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

建议审查

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Linux
/etc/iproute2/rt_tables/usr/lib/iproute2/rt_tables/etc/iproute2/tc_cls

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ctstatcli全局可执行文件
dcbcli全局可执行文件
devlinkcli全局可执行文件
dpllcli全局可执行文件
genlcli全局可执行文件
lnstatcli全局可执行文件
netshapercli全局可执行文件
nstatcli全局可执行文件
rdmacli全局可执行文件
routelcli全局可执行文件
rtacctcli全局可执行文件
rtmoncli全局可执行文件
rtstatcli全局可执行文件
tccli全局可执行文件
tipccli全局可执行文件
vdpacli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://wiki.linuxfoundation.org/networking/iproute2

安装元数据

软件包元数据

软件包键brew:iproute2
版本7.1.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/iproute2
主页https://wiki.linuxfoundation.org/networking/iproute2
仓库https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
上游文档https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/tree/README
许可证GPL-2.0-only
源码归档https://mirrors.edge.kernel.org/pub/linux/utils/net/iproute2/iproute2-7.1.0.tar.xz
最后更新2026-06-16T12:38:49Z
Pulseupdated
依赖elfutils, libbpf, libcap, libmnl, libtirpc
构建依赖bison, flex, pkgconf
Bottle可用 (于 arm64_linux, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

iproute2 6.15.0-1

networking and traffic control tools

https://wiki.linuxfoundation.org/networking/iproute2

sudo apt install iproute2
  • Section: net
  • Architecture: amd64
  • 12 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Iproute2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: iproute2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

iproute2

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

iproute2 6.1.0-1ubuntu6

networking and traffic control tools

https://wiki.linuxfoundation.org/networking/iproute2

sudo apt install iproute2
  • Section: net
  • Architecture: amd64
  • 12 依赖
  • 1 提供
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Iproute2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: iproute2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

iproute2-doc 6.1.0-1ubuntu6

networking and traffic control tools - documentation

https://wiki.linuxfoundation.org/networking/iproute2

sudo apt install iproute2-doc
  • Section: doc
  • Architecture: all
  • Source Package: iproute2
  • normalized package name match
  • 匹配方式:Iproute2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: iproute2-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

iproute2 7.0.0-r0

IP Routing Utilities

https://wiki.linuxfoundation.org/networking/iproute2

sudo apk add iproute2
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: iproute2
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Iproute2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: iproute2 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

iproute2-bash-completion 7.0.0-r0

Bash completions for iproute2

https://wiki.linuxfoundation.org/networking/iproute2

sudo apk add iproute2-bash-completion
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: iproute2
  • normalized package name match
  • 匹配方式:Iproute2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: iproute2-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

iproute2-dev 7.0.0-r0

IP Routing Utilities (development files)

https://wiki.linuxfoundation.org/networking/iproute2

sudo apk add iproute2-dev
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: iproute2
  • normalized package name match
  • 匹配方式:Iproute2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: iproute2-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

iproute2-doc 7.0.0-r0

IP Routing Utilities (documentation)

https://wiki.linuxfoundation.org/networking/iproute2

sudo apk add iproute2-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: iproute2
  • normalized package name match
  • 匹配方式:Iproute2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: iproute2-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

iproute2-minimal 7.0.0-r0

IP Routing Utilities (/sbin/ip only)

https://wiki.linuxfoundation.org/networking/iproute2

sudo apk add iproute2-minimal
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: iproute2
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Iproute2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: iproute2-minimal from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

iproute2-rdma 7.0.0-r0

IP Routing Utilities (rdma utilities)

https://wiki.linuxfoundation.org/networking/iproute2

sudo apk add iproute2-rdma
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: iproute2
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Iproute2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: iproute2-rdma from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

iproute2-ss 7.0.0-r0

IP Routing Utilities (socket statistics tool)

https://wiki.linuxfoundation.org/networking/iproute2

sudo apk add iproute2-ss
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: iproute2
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Iproute2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: iproute2-ss from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

iproute2-tc 7.0.0-r0

IP Routing Utilities (traffic control and XDP support)

https://wiki.linuxfoundation.org/networking/iproute2

sudo apk add iproute2-tc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: iproute2
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Iproute2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: iproute2-tc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
zypper95%

iproute2 7.0-1.2

Linux network configuration utilities

https://wiki.linuxfoundation.org/networking/iproute2

sudo zypper install iproute2
  • License: GPL-2.0-only
  • Category: Productivity/Networking/Routing
  • Architecture: x86_64
  • Source Package: iproute2
  • 8 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Iproute2
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: iproute2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

iproute2-arpd 7.0-1.2

Userspace ARP daemon

https://wiki.linuxfoundation.org/networking/iproute2

sudo zypper install iproute2-arpd
  • License: GPL-2.0-only
  • Category: Productivity/Networking/Routing
  • Architecture: x86_64
  • Source Package: iproute2
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Iproute2
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: iproute2-arpd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

iproute2-bash-completion 7.0-1.2

Bash completion for iproute

https://wiki.linuxfoundation.org/networking/iproute2

sudo zypper install iproute2-bash-completion
  • License: GPL-2.0-or-later
  • Category: System/Shells
  • Architecture: x86_64
  • Source Package: iproute2
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Iproute2
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: iproute2-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment