# 使用 Homebrew, apk, apt, MacPorts, Nix, pacman 安装 dhcping

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

## 安装

```sh
sudo av install brew:dhcping
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dhcping
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dhcping
```

  证据: MacPorts ports tree: net/dhcping/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add dhcping
```

  证据: Alpine Linux edge package indexes: dhcping from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install dhcping
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#dhcping
```

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

- pacman (92%):

```sh
sudo pacman -S dhcping
```

  证据: Arch Linux sync databases: dhcping from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:dhcping
- **软件包管理器:** Homebrew
- **版本:** 1.2
- **来源摘要:** Perform a dhcp-request to check whether a dhcp-server is running
- **主页:** <https://www.mavetju.org/unix/general.php>
- **最后更新:** 2026-07-17T01:05:18-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dhcping (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.2
## 项目历史与用法

dhcping is a focused DHCP availability probe. It sends DHCPREQUEST or DHCPINFORM traffic to check whether a DHCP server responds, making it a small monitoring and diagnostics companion rather than a general DHCP client.

### 项目历史

The official Mavetju tools page lists DHCPING 1.2 as a DHCP daemon ping program for checking whether a DHCP server is still running. Its change log records a 1.0 initial release, DHCPINFORM support in 1.1, and documentation/autoconfiguration/Solaris linking fixes in 1.2.

### 采用历史

dhcping fits the long-lived Unix pattern of small health-check commands: it can be placed in monitoring scripts where a full DHCP client transaction or packet analyzer would be too heavy. The manual explicitly describes setup for a monitoring host against a DHCP server.

### 使用方式

The man page documents required client IP, server IP, and client hardware address arguments, a timeout, quiet and verbose modes, and DHCPREQUEST or DHCPINFORM operation. Because it binds to the bootpc port, the documentation notes that it must run with appropriate privileges.

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

Package nerds care about dhcping because it packages a single operational question as a command: is the DHCP server answering? That makes it useful in init scripts, monitoring checks, and network bring-up debugging without pulling in a larger tool.

### 时间线

- 2002: Change log revision records dhcping releases through version 1.2.
- 1.0: Initial release.
- 1.1: DHCPINFORM option added.
- 1.2: Documentation, autoconfiguration, and Solaris/SunOS linking fixes.

### Related projects

- dhcpdump is the sibling diagnostic tool for decoding DHCP packets.
- dhcpd and dhclient are the server/client tools dhcping is commonly used around.

### 来源

- <http://www.mavetju.org/unix/general.php>
- <http://www.mavetju.org/unix/dhcping-man.php>
- <http://www.mavetju.org/unix/dhcping-changes.txt>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

- Debian apt - dhcping - 1.2-6: normalized package name match | Debian stable package indexes: dhcping from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | DHCP Daemon Ping Program | https://www.mavetju.org/unix/general.php
- Nix - dhcping: normalized package name match | nixpkgs package indexes: pkgs/by-name/dh/dhcping/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dhcping - 1.2-6: normalized package name match | Ubuntu 24.04 LTS package indexes: dhcping from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | DHCP Daemon Ping Program | https://www.mavetju.org/unix/general.php
- apk - dhcping - 1.2-r3: normalized package name match | Alpine Linux edge package indexes: dhcping from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | dhcp daemon ping program | http://www.mavetju.org/unix/general.php
- apk - dhcping-doc - 1.2-r3: normalized package name match | Alpine Linux edge package indexes: dhcping-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | dhcp daemon ping program (documentation) | http://www.mavetju.org/unix/general.php
- pacman - dhcping - 1.2-4: normalized package name match | Arch Linux sync databases: dhcping from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Small tool to let you perform a dhcp-request to find out if a dhcp-server is still running | https://www.mavetju.org/unix/general.php
- MacPorts - dhcping: normalized package name match | MacPorts ports tree: net/dhcping/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/dhcping.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dhcping.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
