Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 tcpdump

查看 tcpdump 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install tcpdump

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install tcpdump

MacPorts ports tree · net/tcpdump/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add tcpdump

Alpine Linux edge package indexes · tcpdump · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install tcpdump

Debian stable package indexes · tcpdump · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install tcpdump

Fedora Rawhide package metadata · tcpdump · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#tcpdump

nixpkgs package indexes · pkgs/by-name/tc/tcpdump/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S tcpdump

Arch Linux sync databases · tcpdump · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install tcpdump

openSUSE Tumbleweed package metadata · tcpdump · 来源: download.opensuse.org

概览

软件包摘要

Command-line packet analyzer

命令和别名

  • tcpdump
  • tcpdump.4.99.6

历史

项目历史与用法

tcpdump is the classic command-line packet analyzer for capturing, filtering, and decoding network traffic, closely tied to libpcap and Unix network troubleshooting culture.

项目历史

The tcpdump source says the program was first written in 1987 by Van Jacobson at Lawrence Berkeley Laboratory. The official README says it was part of research into TCP and Internet gateway performance and was loosely based on Sun's etherfind, with proprietary remnants later rewritten by Steven McCanne.

The current project is maintained by The Tcpdump Group. Its GitHub README describes tcpdump as source code for network monitoring and data acquisition and credits continuing improvements to Internet community contributions.

采用历史

tcpdump became a standard Unix and Unix-like diagnostic tool because it combined packet capture, protocol decoding, and Berkeley Packet Filter expressions in a command-line workflow.

The upstream README notes that many operating systems ship tcpdump as a native package or port, which matches its presence across package managers and base-system environments.

使用方式

Typical use is interactive or scripted packet capture: selecting an interface, applying a capture filter, printing decoded packets, or writing pcap files for later inspection.

The README points to tcpslice for processing tcpdump capture files and to libpcap as the capture interface dependency, which explains why tcpdump is often packaged alongside libpcap.

为什么软件包爱好者会关心

tcpdump is one of the canonical networking CLIs that package maintainers expect to exist everywhere. Its packaging touches privilege handling, capture library compatibility, platform packet APIs, and manpage fidelity.

For package nerds, it is also part of a toolkit lineage: libpcap provides the capture layer, tcpdump provides the terminal interface, and Wireshark and many other tools consume the same pcap ecosystem.

时间线

  • 1987: tcpdump first written by Van Jacobson at Lawrence Berkeley Laboratory.
  • 1988-2000: Source copyright headers record continuing University of California/LBL-era development.
  • 1990s: Original LBL README documents research workflows using tcpdump traces and awk summaries.
  • Modern era: The Tcpdump Group maintains tcpdump with community contributions and GitHub-based development.

Related projects

  • libpcap is tcpdump's packet capture library dependency.
  • tcpslice is maintained by The Tcpdump Group for extracting portions of tcpdump binary trace files.
  • Wireshark is a related packet-analysis tool, but tcpdump remains the compact CLI-oriented analyzer.

安全态势

风险级别:red

doc example: packet capture tool.

风险分类器

red 风险 · 高 置信度 · escape-surveillance-offensive

原因

  • doc example: packet capture tool

信号

  • override:tcpdump

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
tcpdumpcli全局可执行文件
tcpdump.4.99.6cli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本4.99.6
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.tcpdump.org/

安装元数据

软件包元数据

软件包键brew:tcpdump
版本4.99.6
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/tcpdump
主页https://www.tcpdump.org/
仓库https://github.com/the-tcpdump-group/tcpdump
上游文档https://github.com/the-tcpdump-group/tcpdump#readme
许可证BSD-3-Clause
源码归档https://www.tcpdump.org/release/tcpdump-4.99.6.tar.gz
最后更新2026-06-22T14:06:26-07:00
Pulseupdated
依赖libpcap, openssl@4
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametcpdump
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

tcpdump 4.99.5-2

command-line network traffic analyzer

https://www.tcpdump.org/

sudo apt install tcpdump
  • Section: net
  • Architecture: amd64
  • 4 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Tcpdump
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tcpdump from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

tcpdump

nix profile install nixpkgs#tcpdump
  • normalized package name match
  • 匹配方式:Tcpdump
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tc/tcpdump/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

tcpdump 4.99.4-3ubuntu4

command-line network traffic analyzer

https://www.tcpdump.org/

sudo apt install tcpdump
  • Section: net
  • Architecture: amd64
  • 4 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Tcpdump
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tcpdump from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

tcpdump 4.99.6-r1

Command-line packet analyzer

https://www.tcpdump.org/

sudo apk add tcpdump
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: tcpdump
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tcpdump
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tcpdump from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

tcpdump-doc 4.99.6-r1

Command-line packet analyzer (documentation)

https://www.tcpdump.org/

sudo apk add tcpdump-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: tcpdump
  • normalized package name match
  • 匹配方式:Tcpdump
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tcpdump-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

tcpdump 4.99.6-3.fc45

A network traffic monitoring tool

http://www.tcpdump.org

sudo dnf install tcpdump
  • License: BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSD-4-Clause-UC AND ISC AND NTP
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tcpdump
  • 5 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Tcpdump
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tcpdump from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

tcpdump 4.99.6-1

Powerful command-line packet analyzer

https://www.tcpdump.org/

sudo pacman -S tcpdump
  • License: BSD-3-Clause
  • Architecture: x86_64
  • 7 依赖
  • normalized package name match
  • 匹配方式:Tcpdump
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: tcpdump from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

tcpdump 4.99.6-1.3

A Packet Sniffer

https://www.tcpdump.org/

sudo zypper install tcpdump
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tcpdump
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tcpdump
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: tcpdump from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

tcpdump

sudo port install tcpdump
  • normalized package name match
  • 匹配方式:Tcpdump
MacPorts ports tree · api.github.com · MacPorts ports tree: net/tcpdump/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment