# Install iproute2 with Homebrew, apk, apt, Nix, pacman, zypper, dnf

Linux routing utilities. Version 7.1.0 via Homebrew; verified 2026-06-16.

## Install

```sh
sudo av install brew:iproute2
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install iproute2
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add iproute2
```

  Evidence: Alpine Linux edge package indexes: iproute2 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install iproute2
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#iproute2
```

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

- pacman (92%):

```sh
sudo pacman -S iproute2
```

  Evidence: Arch Linux sync databases: iproute2 from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install iproute2
```

  Evidence: openSUSE Tumbleweed package metadata: iproute2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

- dnf (92%):

```sh
sudo dnf install rdma-core
```

  Evidence: Fedora Rawhide package metadata: rdma-core from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

## Package facts

- **Package key:** brew:iproute2
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/iproute2>
- **Version:** 7.1.0
- **Source summary:** Linux routing utilities
- **Homepage:** <https://wiki.linuxfoundation.org/networking/iproute2>
- **Repository:** <https://git.kernel.org/pub/scm/network/iproute2/iproute2.git>
- **Upstream docs:** <https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/tree/README>
- **License:** GPL-2.0-only
- **Source archive:** <https://mirrors.edge.kernel.org/pub/linux/utils/net/iproute2/iproute2-7.1.0.tar.xz>
- **Last updated:** 2026-06-16T12:38:49Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ctstat (cli)
- dcb (cli)
- devlink (cli)
- dpll (cli)
- genl (cli)
- lnstat (cli)
- netshaper (cli)
- nstat (cli)
- rdma (cli)
- routel (cli)
- rtacct (cli)
- rtmon (cli)
- rtstat (cli)
- tc (cli)
- tipc (cli)
- vdpa (cli)
- ctstat (alias)
- dcb (alias)
- devlink (alias)
- dpll (alias)
- genl (alias)
- lnstat (alias)
- netshaper (alias)
- nstat (alias)
- rdma (alias)
- routel (alias)
- rtacct (alias)
- rtmon (alias)
- rtstat (alias)
- tc (alias)
- tipc (alias)
- vdpa (alias)

## Dependencies

- elfutils
- libbpf
- libcap
- libmnl
- libtirpc

## Build dependencies

- bison
- flex
- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 7.1.0
- Package-manager updated: 2026-06-16
- Local data: ok
- Upstream repository: https://wiki.linuxfoundation.org/networking/iproute2
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


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

- Linux: /etc/iproute2/rt_tables, /usr/lib/iproute2/rt_tables, /etc/iproute2/tc_cls
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** iproute2
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** linux
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - iproute2 - 6.15.0-1: normalized package name match | Debian stable package indexes: iproute2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | networking and traffic control tools | https://wiki.linuxfoundation.org/networking/iproute2
- Nix - iproute2: normalized package name match | nixpkgs package indexes: pkgs/by-name/ip/iproute2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - iproute2 - 6.1.0-1ubuntu6: normalized package name match | Ubuntu 24.04 LTS package indexes: iproute2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | networking and traffic control tools | https://wiki.linuxfoundation.org/networking/iproute2
- Ubuntu apt - iproute2-doc - 6.1.0-1ubuntu6: normalized package name match | Ubuntu 24.04 LTS package indexes: iproute2-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | networking and traffic control tools - documentation | https://wiki.linuxfoundation.org/networking/iproute2
- apk - iproute2 - 7.0.0-r0: normalized package name match | Alpine Linux edge package indexes: iproute2 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | IP Routing Utilities | https://wiki.linuxfoundation.org/networking/iproute2
- apk - iproute2-bash-completion - 7.0.0-r0: normalized package name match | Alpine Linux edge package indexes: iproute2-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Bash completions for iproute2 | https://wiki.linuxfoundation.org/networking/iproute2
- apk - iproute2-dev - 7.0.0-r0: normalized package name match | Alpine Linux edge package indexes: iproute2-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | IP Routing Utilities (development files) | https://wiki.linuxfoundation.org/networking/iproute2
- apk - iproute2-doc - 7.0.0-r0: normalized package name match | Alpine Linux edge package indexes: iproute2-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | IP Routing Utilities (documentation) | https://wiki.linuxfoundation.org/networking/iproute2
- apk - iproute2-minimal - 7.0.0-r0: normalized package name match | Alpine Linux edge package indexes: iproute2-minimal from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | IP Routing Utilities (/sbin/ip only) | https://wiki.linuxfoundation.org/networking/iproute2
- apk - iproute2-rdma - 7.0.0-r0: normalized package name match | Alpine Linux edge package indexes: iproute2-rdma from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | IP Routing Utilities (rdma utilities) | https://wiki.linuxfoundation.org/networking/iproute2
- apk - iproute2-ss - 7.0.0-r0: normalized package name match | Alpine Linux edge package indexes: iproute2-ss from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | IP Routing Utilities (socket statistics tool) | https://wiki.linuxfoundation.org/networking/iproute2
- apk - iproute2-tc - 7.0.0-r0: normalized package name match | Alpine Linux edge package indexes: iproute2-tc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | IP Routing Utilities (traffic control and XDP support) | https://wiki.linuxfoundation.org/networking/iproute2
- pacman - iproute2 - 7.0.0-1: normalized package name match | Arch Linux sync databases: iproute2 from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz | IP Routing Utilities | https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
- zypper - iproute2 - 7.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: iproute2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Linux network configuration utilities | https://wiki.linuxfoundation.org/networking/iproute2
- zypper - iproute2-arpd - 7.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: iproute2-arpd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Userspace ARP daemon | https://wiki.linuxfoundation.org/networking/iproute2
- zypper - iproute2-bash-completion - 7.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: iproute2-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Bash completion for iproute | https://wiki.linuxfoundation.org/networking/iproute2


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Documentation packages](https://www.automicvault.com/pkg/documentation-tools/) - Matched documentation, manual, or publishing metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [elfutils](https://www.automicvault.com/pkg/brew/elfutils/) - Runtime dependency declared by Homebrew.
- [libcap](https://www.automicvault.com/pkg/brew/libcap/) - Runtime dependency declared by Homebrew.
- [bison](https://www.automicvault.com/pkg/brew/bison/) - Build dependency declared by Homebrew.
- [flex](https://www.automicvault.com/pkg/brew/flex/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [libnl](https://www.automicvault.com/pkg/brew/libnl/) - Shares av.db curated category or tags: cli, linux, netlink, networking.
- [iproute2mac](https://www.automicvault.com/pkg/brew/iproute2mac/) - Shares av.db curated category or tags: cli, networking, routing.
- [net-tools](https://www.automicvault.com/pkg/brew/net-tools/) - Shares av.db curated category or tags: cli, linux, networking.
- [zebra](https://www.automicvault.com/pkg/brew/zebra/) - Shares av.db curated category or tags: cli, networking, routing.
- [babeld](https://www.automicvault.com/pkg/brew/babeld/) - Shares av.db curated category or tags: cli, networking, routing.
- [irrtoolset](https://www.automicvault.com/pkg/brew/irrtoolset/) - Shares av.db curated category or tags: cli, networking, routing.
- [olsrd](https://www.automicvault.com/pkg/brew/olsrd/) - Shares av.db curated category or tags: cli, networking, routing.
- [osrm-backend](https://www.automicvault.com/pkg/brew/osrm-backend/) - Shares av.db curated category or tags: cli, networking, routing.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
