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.0
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 days25,894
Downloads1,076,538
Analytics install events (30 days)3,050
Downloads / install events (30 days)8.5×

Source: GitHub Packages, fetched 2026-11-13T00:53:45Z. Analytics dates: 2026-10-14 to 2026-11-13. 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
Installs3,0497,48328,331
Installs (--HEAD)1321
Installs on Request4811,3548,357
Installs on Request (--HEAD)1321
Build Errors5