macOS
brew install iperflocal Homebrew formula metadata
brew
Tool to measure maximum TCP and UDP bandwidth. Version 2.2.1 via Homebrew; verified from local package data.
install
brew install iperflocal Homebrew formula metadata
sudo apk add iperfAlpine Linux edge package indexes · iperf · source: dl-cdn.alpinelinux.org
sudo apt install iperfDebian stable package indexes · iperf · source: deb.debian.org
sudo dnf install iperfFedora Rawhide package metadata · iperf · source: dl.fedoraproject.org
nix profile install nixpkgs#iperfnixpkgs package indexes · iperf · source: raw.githubusercontent.com
sudo pacman -S iperfArch Linux sync databases · iperf · source: geo.mirror.pkgbuild.com
sudo zypper install iperfopenSUSE Tumbleweed package metadata · iperf · source: download.opensuse.org
overview
Tool to measure maximum TCP and UDP bandwidth
history
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.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
iperf | cli | global executable |
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.
https://sourceforge.net/projects/iperf2/
install metadata
| Package key | brew:iperf |
|---|---|
| Version | 2.2.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/iperf |
| Homepage | https://sourceforge.net/projects/iperf2/ |
| Repository | https://sourceforge.net/p/iperf2/code |
| Upstream docs | https://iperf2.sourceforge.io/IperfCompare.html |
| License | BSD-3-Clause |
| Source archive | https://downloads.sourceforge.net/project/iperf2/iperf-2.2.1.tar.gz |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | iperf |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
iperf 2.2.1+dfsg-1
Internet Protocol bandwidth measuring tool
https://sourceforge.net/projects/iperf2/
sudo apt install iperfiperf
nix profile install nixpkgs#iperfiperf 2.1.9+dfsg-1
Internet Protocol bandwidth measuring tool
https://sourceforge.net/projects/iperf2/
sudo apt install iperfiperf 2.2.1-r0
A tool to measure IP bandwidth using UDP or TCP
https://sourceforge.net/projects/iperf2/
sudo apk add iperfiperf-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-dociperf-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-openrciperf 2.2.1-4.fc44
Measurement tool for TCP/UDP bandwidth performance
http://sourceforge.net/projects/iperf2
sudo dnf install iperfiperf 2.2.1-2
A tool to measure maximum TCP bandwidth
https://sourceforge.net/projects/iperf2/
sudo pacman -S iperfiperf 3.21-1.2
A tool to measure network performance
https://github.com/esnet/iperf
sudo zypper install iperfiperf-devel 3.21-1.2
A tool to measure network performance
https://github.com/esnet/iperf
sudo zypper install iperf-devellibiperf0 3.21-1.2
A library to measure network performance
https://github.com/esnet/iperf
sudo zypper install libiperf0source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.