Automic VaultAutomic Vault

brew

Install iperf with Homebrew, apk, apt, dnf, Nix, pacman, zypper

Tool to measure maximum TCP and UDP bandwidth. Version 2.2.1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install iperf

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add iperf

Alpine Linux edge package indexes · iperf · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install iperf

Debian stable package indexes · iperf · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install iperf

Fedora Rawhide package metadata · iperf · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#iperf

nixpkgs package indexes · iperf · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S iperf

Arch Linux sync databases · iperf · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install iperf

openSUSE Tumbleweed package metadata · iperf · source: download.opensuse.org

overview

Package summary

Tool to measure maximum TCP and UDP bandwidth

Commands and aliases

  • iperf

history

Project history and usage

Iperf 2 is the maintained version of the original iperf line, a command-line network test tool for measuring TCP and UDP throughput, latency, jitter, packet loss, and related socket-level behavior.

Project history

The iperf family began as an NLANR/DAST tool for measuring maximum TCP and UDP bandwidth. The SourceForge iperf2 project preserves that lineage while making clear that version 2 is maintained separately from the original developers and from ESnet's iperf3 rewrite.

The iperf2 documentation emphasizes continued divergence from iperf3: both tools measure network performance, but they do not interoperate and have different feature sets. Iperf 2 retained the traditional `iperf` command name, the classic client/server model, and a broad set of traffic-shaping and reporting options.

Adoption history

Iperf 2 became a standard Unix package because it gives operators a small, scriptable way to create repeatable traffic between two hosts. Its availability in Homebrew and common Linux package managers reflects that role as a baseline troubleshooting tool rather than an application framework.

After iperf3 appeared, iperf2 kept a distinct user base around features such as multicast, CSV-style output, TCP and UDP latency measurements, full-duplex traffic, port ranges, and large parallel tests.

How it is used

Typical use is split between a receiver started with `iperf -s` and a sender started with `iperf -c host`, with options selecting TCP or UDP, target bandwidth, test duration, reporting interval, parallelism, and enhanced measurements.

Package users tend to reach for iperf2 when they need the traditional `iperf` executable, compatibility with existing scripts, or iperf2-only features documented in the comparison table.

Why package nerds care

For package maintainers, `iperf` is the old-name counterpart to `iperf3`: both are useful, both are active, and the executable names intentionally differ so they can coexist. That split is why Homebrew's `iperf` formula maps to Iperf 2 rather than ESnet iperf3.

The package is a good example of a long-lived networking utility whose version line matters more than the generic project name. Choosing `iperf` versus `iperf3` changes protocol compatibility, output format, and feature coverage.

Timeline

  • NLANR/DAST era: Original iperf created as a modern TCP and UDP bandwidth measurement tool.
  • SourceForge era: Iperf 2 continued as the maintained version of the original iperf line.
  • 2026: Iperf 2 documentation describes the 2.2.2 comparison point with iperf3 and lists both projects as active but independent.

Related projects

  • iperf3 is ESnet's separate rewrite and does not interoperate with Iperf 2.
  • nuttcp and netperf occupy nearby network benchmarking territory and are referenced by iperf3 documentation as related tools.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
iperfcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.2.1
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://sourceforge.net/projects/iperf2/

install metadata

Package metadata

Package keybrew:iperf
Version2.2.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/iperf
Homepagehttps://sourceforge.net/projects/iperf2/
Repositoryhttps://sourceforge.net/p/iperf2/code
Upstream docshttps://iperf2.sourceforge.io/IperfCompare.html
LicenseBSD-3-Clause
Source archivehttps://downloads.sourceforge.net/project/iperf2/iperf-2.2.1.tar.gz
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

iperf 2.2.1+dfsg-1

Internet Protocol bandwidth measuring tool

https://sourceforge.net/projects/iperf2/

sudo apt install iperf
  • Section: net
  • Architecture: amd64
  • 3 dependencies
  • normalized package name match
  • Matched by: Iperf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: iperf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

iperf

nix profile install nixpkgs#iperf
  • normalized package name match
  • Matched by: Iperf
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: iperf from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

iperf 2.1.9+dfsg-1

Internet Protocol bandwidth measuring tool

https://sourceforge.net/projects/iperf2/

sudo apt install iperf
  • Section: universe/net
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Iperf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: iperf from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

iperf 2.2.1-r0

A tool to measure IP bandwidth using UDP or TCP

https://sourceforge.net/projects/iperf2/

sudo apk add iperf
  • License: NCSA
  • Architecture: x86_64
  • Source Package: iperf
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Iperf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: iperf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

iperf-doc 2.2.1-r0

A tool to measure IP bandwidth using UDP or TCP (documentation)

https://sourceforge.net/projects/iperf2/

sudo apk add iperf-doc
  • License: NCSA
  • Architecture: x86_64
  • Source Package: iperf
  • normalized package name match
  • Matched by: Iperf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: iperf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

iperf-openrc 2.2.1-r0

A tool to measure IP bandwidth using UDP or TCP (OpenRC init scripts)

https://sourceforge.net/projects/iperf2/

sudo apk add iperf-openrc
  • License: NCSA
  • Architecture: x86_64
  • Source Package: iperf
  • normalized package name match
  • Matched by: Iperf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: iperf-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

iperf 2.2.1-4.fc44

Measurement tool for TCP/UDP bandwidth performance

http://sourceforge.net/projects/iperf2

sudo dnf install iperf
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: iperf
  • 6 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Iperf
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: iperf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

iperf 2.2.1-2

A tool to measure maximum TCP bandwidth

https://sourceforge.net/projects/iperf2/

sudo pacman -S iperf
  • License: LicenseRef-IPerf
  • Architecture: x86_64
  • 3 dependencies
  • normalized package name match
  • Matched by: Iperf
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: iperf from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

iperf 3.21-1.2

A tool to measure network performance

https://github.com/esnet/iperf

sudo zypper install iperf
  • License: BSD-3-Clause
  • Category: Productivity/Networking/Diagnostic
  • Architecture: x86_64
  • Source Package: iperf
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Iperf
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: iperf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

iperf-devel 3.21-1.2

A tool to measure network performance

https://github.com/esnet/iperf

sudo zypper install iperf-devel
  • License: BSD-3-Clause
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: iperf
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Iperf
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: iperf-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libiperf0 3.21-1.2

A library to measure network performance

https://github.com/esnet/iperf

sudo zypper install libiperf0
  • License: BSD-3-Clause
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: iperf
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Iperf
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libiperf0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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