libpcap

Install command:
brew install libpcap

Portable library for network traffic capture

https://www.tcpdump.org/

License: BSD-3-Clause

Development: Pull requests

Formula JSON API: /api/formula/libpcap.json

Formula code: libpcap.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 1.11.1
head ⚡️ HEAD

Keg-only because macOS already provides this software.

Uses from macOS: bison (build), flex (build)

Binaries: pcap-config

GitHub Packages downloads:

Last 30 days43,239
Downloads1,110,502
Analytics install events (30 days)6,092
Downloads / install events (30 days)7.1×

Source: GitHub Packages, fetched 2026-12-03T00:58:46Z. Analytics dates: 2026-11-03 to 2026-12-03. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs6,08811,24332,171
Installs (--HEAD)4625
Installs on Request9581,9098,698
Installs on Request (--HEAD)4625
Build Errors9