# 使用 Homebrew, apt, dnf, Nix 安装 dhcpdump

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

## 安装

```sh
sudo av install brew:dhcpdump
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dhcpdump
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install dhcpdump
```

  证据: Debian stable package indexes: dhcpdump from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install dhcpdump
```

  证据: Fedora Rawhide package metadata: dhcpdump from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#dhcpdump
```

  证据: nixpkgs package indexes: pkgs/by-name/dh/dhcpdump/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:dhcpdump
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dhcpdump>
- **版本:** 1.10
- **来源摘要:** Monitor DHCP traffic for debugging purposes
- **主页:** <https://github.com/dhcpdump-org/dhcpdump>
- **仓库:** <https://github.com/dhcpdump-org/dhcpdump>
- **上游文档:** <https://github.com/dhcpdump-org/dhcpdump#readme>
- **许可证:** BSD-2-Clause
- **源码归档:** <https://github.com/dhcpdump-org/dhcpdump/releases/download/v1.10/dhcpdump-1.10.tar.xz>
- **最后更新:** 2026-07-04T16:53:42+09:00
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- dhcpdump (cli)
- dhcpdump (别名)

## macOS 提供的库

- libpcap

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.10
- 管理器更新时间: 2026-07-04
- 本地数据: OK
- 上游仓库: https://github.com/dhcpdump-org/dhcpdump
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

dhcpdump is a small DHCP packet inspection utility: it decodes captured DHCP traffic into output that is easier to read than raw packet dumps. It occupies the classic Unix niche of a narrow diagnostic command built for administrators debugging a specific protocol.

### 项目历史

The original Mavetju page lists DHCPDUMP 1.8 as a utility to analyze sniffed DHCP packets, and its change log records incremental releases through 1.8. The current official fork describes itself as a fork of dhcpdump 1.8 by Edwin Groothuis that collects bug fixes and improvements accumulated over more than a decade.

### 采用历史

dhcpdump stayed relevant because DHCP troubleshooting often needs a readable decode of broadcasts, options, client identifiers, relay-agent data, and pcap captures. The maintained fork adds modern fixes such as VLAN-tagged traffic support, pcap-file reading, and updated option parsing.

### 使用方式

The original manual documents use on a network interface, optional client-hardware-address filtering, and verbose decoded output of DHCP headers and options. Later releases moved from parsing tcpdump output to using pcap directly.

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

For package maintainers, dhcpdump is the sort of tiny network utility that survives because it is easier to package and invoke than a full packet-analysis suite. Its value is not breadth, but the convenience of purpose-built DHCP decoding in scripts, support sessions, and server rooms.

### 时间线

- 2002: Original man page revision identifies dhcpdump as a DHCP packet dumper.
- 2004: Version 1.8 changes dhcpdump to use pcap instead of tcpdump output.
- 2023: Current GitHub fork is created to collect long-running fixes and improvements.

### Related projects

- dhcping is another Mavetju DHCP diagnostic tool.
- tcpdump and libpcap are adjacent packet-capture tools used around dhcpdump workflows.

### 来源

- <http://www.mavetju.org/unix/general.php>
- <http://www.mavetju.org/unix/dhcpdump-man.php>
- <http://www.mavetju.org/unix/dhcpdump-changes.txt>
- <https://github.com/dhcpdump-org/dhcpdump>
- <https://api.github.com/repos/bbonev/dhcpdump>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dhcpdump
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Debian apt - dhcpdump - 1.9-1+b1: normalized package name match | Debian stable package indexes: dhcpdump from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Parse DHCP packets from a network interface | https://github.com/bbonev/dhcpdump
- Nix - dhcpdump: normalized package name match | nixpkgs package indexes: pkgs/by-name/dh/dhcpdump/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dhcpdump - 1.9-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: dhcpdump from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Parse DHCP packets from a network interface | https://github.com/bbonev/dhcpdump
- dnf - dhcpdump - 1.9-8.fc44: normalized package name match | Fedora Rawhide package metadata: dhcpdump from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Parse DHCP packets | https://github.com/bbonev/dhcpdump


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [dhcping](https://www.automicvault.com/zh-hans/pkg/brew/dhcping/) - Shares av.db curated category or tags: cli, dhcp, diagnostics, networking.
- [cloudflare-speed-cli](https://www.automicvault.com/zh-hans/pkg/brew/cloudflare-speed-cli/) - Shares av.db curated category or tags: cli, diagnostics, networking.
- [dnstracer](https://www.automicvault.com/zh-hans/pkg/brew/dnstracer/) - Shares av.db curated category or tags: cli, diagnostics, networking.
- [dstp](https://www.automicvault.com/zh-hans/pkg/brew/dstp/) - Shares av.db curated category or tags: cli, diagnostics, networking.
- [fastrace](https://www.automicvault.com/zh-hans/pkg/brew/fastrace/) - Shares av.db curated category or tags: cli, diagnostics, networking.
- [fping](https://www.automicvault.com/zh-hans/pkg/brew/fping/) - Shares av.db curated category or tags: cli, diagnostics, networking.
- [httpflow](https://www.automicvault.com/zh-hans/pkg/brew/httpflow/) - Shares av.db curated category or tags: cli, networking, packet-analysis, pcap, tcpdump.
- [ipsumdump](https://www.automicvault.com/zh-hans/pkg/brew/ipsumdump/) - Shares av.db curated category or tags: cli, networking, packet-analysis, pcap.
- [miruo](https://www.automicvault.com/zh-hans/pkg/brew/miruo/) - Local metadata places this package in an adjacent workflow. Shared terms: analysis, cli, monitor, network, networking.
- [sniffer](https://www.automicvault.com/zh-hans/pkg/brew/sniffer/) - Local metadata places this package in an adjacent workflow. Shared terms: analysis, cli, network, networking, packet.

## Combined YAML source

View the package source record on GitHub. [combined/dhcpdump.yml](https://github.com/automic-vault/db/blob/main/combined/dhcpdump.yml)


## 来源

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