macOS - iPerf

By Jack Szwergold • September 15, 2015

This tutorial explains how you can install iPerf directly from source code on macOS. Tested on macOS 10.9.5.

First grab a compressed archive from an official iPerf source site:

curl -O -L https://iperf.fr/download/source/iperf-2.0.5-source.tar.gz

Next, decompress the archive like this:

tar -xf iperf-2.*.tar.gz

Now go into the decompressed directory:

cd iperf-2.*

Run this configure command:

./configure

Once the configure process completes, run make:

make

Finally install it by running sudo make install:

sudo make install

And once it’s installed, run the command with -v to do a simple check to see it’s working:

iperf -v