macOS
brew install libpcaplocal Homebrew formula metadata
sudo port install libpcapMacPorts ports tree · net/libpcap/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für libpcap in AI-Agent-Workflows.
Installation
brew install libpcaplocal Homebrew formula metadata
sudo port install libpcapMacPorts ports tree · net/libpcap/Portfile · Quelle: api.github.com
sudo apk add libpcapAlpine Linux edge package indexes · libpcap · Quelle: dl-cdn.alpinelinux.org
sudo dnf install libpcapFedora Rawhide package metadata · libpcap · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#libpcapnixpkgs package indexes · pkgs/by-name/li/libpcap/package.nix · Quelle: api.github.com
sudo pacman -S libpcapArch Linux sync databases · libpcap · Quelle: geo.mirror.pkgbuild.com
sudo apt install libpcap-devDebian stable package indexes · libpcap-dev · Quelle: deb.debian.org
sudo zypper install libpcap-developenSUSE Tumbleweed package metadata · libpcap-devel · Quelle: download.opensuse.org
Überblick
Portable library for network traffic capture
Verlauf
libpcap is the portable packet-capture library maintained with tcpdump by The Tcpdump Group. It gives programs a common C API for capturing packets and compiling packet filters across Unix-like operating systems whose native capture interfaces differ.
The project grew out of the tcpdump and Berkeley Packet Filter lineage. Steve McCanne's SharkFest 2011 talk traces the packet-capture work back to a 1988 Berkeley/Lawrence Berkeley Laboratory setting, while the 1993 BPF paper documents the kernel/user-level filtering architecture that made efficient capture practical.
The Tcpdump Group later maintained libpcap as a separate library paired with tcpdump. The repository and CHANGES file show long-running attention to operating-system capture backends, filter syntax, savefile reading, remote capture support, and ABI concerns.
libpcap became infrastructure rather than an end-user application: tcpdump, analyzers, monitors, and security tools can link against one API while relying on each operating system's capture mechanism underneath. The upstream README explicitly addresses Linux distributions and BSD systems that ship libpcap and warns packagers not to encode release-specific sonames.
Its adoption is also tied to the pcap file and filter culture around tcpdump: packet captures, reproducible troubleshooting, and command-line network forensics all use libpcap conventions even when users interact through higher-level tools.
Developers use libpcap to enumerate capture devices, open live or saved captures, compile packet filters, and read packet records. Package-manager users usually install it as a dependency of network tools or as development headers for software that needs packet capture.
The small `pcap-config` utility is package-nerd visible because build systems and ports use it to discover compiler and linker flags for libpcap.
libpcap matters because it is a thin but durable portability layer over messy kernel capture APIs. It is the package that turns packet capture from an operating-system-specific problem into a linkable library dependency.
It is also a classic packaging stress test: headers, shared-library ABI, privileged capture behavior, optional capture backends, and security-sensitive parsers all meet in one small C library.
Sicherheitslage
library-like package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
pcap-config | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:libpcap |
|---|---|
| Version | 1.10.6 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/libpcap |
| Homepage | https://www.tcpdump.org/ |
| Repository | https://github.com/the-tcpdump-group/libpcap |
| Upstream-Dokumentation | https://www.tcpdump.org/manpages |
| Lizenz | BSD-3-Clause |
| Quellarchiv | https://www.tcpdump.org/release/libpcap-1.10.6.tar.gz |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libpcap |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
libpcap-dev 1.10.5-2
development library for libpcap (transitional package)
sudo apt install libpcap-devlibpcap0.8-dev 1.10.5-2
development library and header files for libpcap0.8t64
sudo apt install libpcap0.8-devlibpcap0.8t64 1.10.5-2
system interface for user-level packet capture
sudo apt install libpcap0.8t64libpcap
nix profile install nixpkgs#libpcaplibpcap-dev 1.10.4-4.1ubuntu3
development library for libpcap (transitional package)
sudo apt install libpcap-devlibpcap0.8-dev 1.10.4-4.1ubuntu3
development library and header files for libpcap0.8t64
sudo apt install libpcap0.8-devlibpcap0.8t64 1.10.4-4.1ubuntu3
system interface for user-level packet capture
sudo apt install libpcap0.8t64libpcap 1.10.6-r1
Portable library for network traffic capture
sudo apk add libpcaplibpcap-dev 1.10.6-r1
Portable library for network traffic capture (development files)
sudo apk add libpcap-devlibpcap-doc 1.10.6-r1
Portable library for network traffic capture (documentation)
sudo apk add libpcap-doclibpcap 1.10.6-2.fc44
A system-independent interface for user-level packet capture
sudo dnf install libpcaplibpcap-devel 1.10.6-2.fc44
Libraries and header files for the libpcap library
sudo dnf install libpcap-devellibpcap 1.10.6-1
A system-independent interface for user-level packet capture
sudo pacman -S libpcaplibpcap-devel 1.10.6-1.4
A Library for Network Sniffers
sudo zypper install libpcap-devellibpcap-devel-32bit 1.10.6-1.4
A Library for Network Sniffers
sudo zypper install libpcap-devel-32bitlibpcap-devel-static 1.10.6-1.4
A Library for Network Sniffers
sudo zypper install libpcap-devel-staticQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.