# Install ahcpd with Homebrew, apt, dnf, Nix

Autoconfiguration protocol for IPv6 and IPv6/IPv4 networks. Version 0.53 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:ahcpd
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ahcpd
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install ahcpd
```

  Evidence: Debian stable package indexes: ahcpd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ahcpd
```

  Evidence: Fedora Rawhide package metadata: ahcpd 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#ahcpd
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ah/ahcpd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:ahcpd
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ahcpd>
- **Version:** 0.53
- **Source summary:** Autoconfiguration protocol for IPv6 and IPv6/IPv4 networks
- **Homepage:** <https://www.irif.fr/~jch/software/ahcp/>
- **Repository:** <https://github.com/jech/ahcpd>
- **Upstream docs:** <https://www.irif.fr/~jch/software/ahcp>
- **License:** MIT
- **Source archive:** <https://www.irif.fr/~jch/software/files/ahcpd-0.53.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ahcpd (cli)
- ahcpd (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.53
- Local data: ok
- Upstream repository: https://www.irif.fr/~jch/software/ahcp/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

ahcpd is Juliusz Chroboczek's daemon implementation of AHCP, the Ad-Hoc Configuration Protocol. It targets IPv6 and dual-stack IPv6/IPv4 autoconfiguration for mesh and ad-hoc networks where ordinary DHCP or IPv6 router discovery is awkward because there is no conveniently placed server on every link.

### Project history

The official AHCP page describes the protocol as a replacement for router discovery and DHCP in mobile ad-hoc networks, and as a companion to routing protocols such as Babel or OLSR. The ahcpd change log records an initial public release in August 2007.

The implementation evolved quickly from 2007 through 2011. Early releases added NTP server configuration, IPv4 stateful configuration, daemon operation, and server redundancy features. In August 2009, ahcpd 0.50 redesigned AHCP as a client-server protocol layered over a multicast routing layer, explicitly breaking compatibility with the older protocol.

### Adoption history

The official project page says AHCP was used on the PPS network and notes packages for Debian, Ubuntu, Fedora Extras, Arch Linux, and OpenWrt. The supplied package facts add Homebrew, Nix, and other Linux distribution packaging, showing the daemon's life as a specialist networking package rather than a mainstream desktop utility.

The official page also says AHCP was expected to be replaced eventually by an extended Homenet HNCP protocol, which helps explain its maintenance profile: useful and packaged, but tied to a specific era of mesh-network experimentation.

### How it is used

Client use can be as simple as running ahcpd on an interface as root. Server use requires a configuration file; the official README shows ahcpd launched with -c /etc/ahcpd.conf and a file containing mode, IPv6 and IPv4 prefixes, lease directory, name servers, and NTP servers.

The man page documents ahcpd as a daemon with client, server, and forwarder modes. It also documents operational files such as /var/lib/ahcp-unique-id and scripts under /etc/ahcp/ that perform the actual interface configuration.

### Why package nerds care

ahcpd matters to package nerds as a compact example of late-2000s mesh-network plumbing: a real daemon, protocol draft, man page, distro packages, and OpenWrt relevance, but with a scope far narrower than DHCP clients or router-advertisement daemons.

It is also a useful reminder that not every packaged network daemon is broadly deployed. Some packages exist because a small protocol ecosystem needs reproducible builds and service integration across Unix-like systems.

### Timeline

- 2007: ahcpd 0.1 initial public release.
- 2008: ahcpd added IPv4 stateful configuration and daemon operation.
- 2009: ahcpd 0.50 redesigned AHCP as a client-server protocol over multicast routing.
- 2010: ahcpd 0.51 added plain-text server configuration files and prefix delegation support.
- 2011: ahcpd 0.53 fixed client renewal behavior and set packet TOS as network control.

### Related projects

- Babel and OLSR are named by the official AHCP page as routing protocols expected to provide routes while AHCP handles address and service configuration.
- HNCP is named by the official page as the Homenet protocol the author hoped would eventually replace AHCP.

### Sources

- <https://raw.githubusercontent.com/jech/ahcpd/master/CHANGES>
- <https://raw.githubusercontent.com/jech/ahcpd/master/README>
- <https://www.irif.fr/~jch/software/ahcp>
- <https://www.irif.fr/~jch/software/ahcp/ahcpd.html>
- source_facts.package-manager


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/ahcpd.conf
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ahcpd
- **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

## Other Package-Manager Records

- Debian apt - ahcpd - 0.53-3: normalized package name match | Debian stable package indexes: ahcpd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Ad-Hoc Configuration Protocol | https://www.irif.fr/~jch/software/ahcp/
- Nix - ahcpd: normalized package name match | nixpkgs package indexes: pkgs/by-name/ah/ahcpd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ahcpd - 0.53-3: normalized package name match | Ubuntu 24.04 LTS package indexes: ahcpd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Ad-Hoc Configuration Protocol | https://www.irif.fr/~jch/software/ahcp/
- dnf - ahcpd - 0.53-37.fc44: normalized package name match | Fedora Rawhide package metadata: ahcpd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Ad-hoc network configuration daemon | http://www.pps.univ-paris-diderot.fr/~jch/software/ahcp/


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [radvd](https://www.automicvault.com/pkg/brew/radvd/) - Shares av.db curated category or tags: cli, daemon, ipv6, networking.
- [ipv6calc](https://www.automicvault.com/pkg/brew/ipv6calc/) - Shares av.db curated category or tags: cli, ipv6, networking.
- [ddclient](https://www.automicvault.com/pkg/brew/ddclient/) - Shares av.db curated category or tags: cli, daemon, networking.
- [grepip](https://www.automicvault.com/pkg/brew/grepip/) - Shares av.db curated category or tags: cli, ipv6, networking.
- [inspircd](https://www.automicvault.com/pkg/brew/inspircd/) - Shares av.db curated category or tags: cli, daemon, networking.
- [ircd-hybrid](https://www.automicvault.com/pkg/brew/ircd-hybrid/) - Shares av.db curated category or tags: cli, daemon, networking.
- [kea](https://www.automicvault.com/pkg/brew/kea/) - Shares av.db curated category or tags: cli, ipv6, networking.
- [knot](https://www.automicvault.com/pkg/brew/knot/) - Shares av.db curated category or tags: cli, daemon, networking.
- [babeld](https://www.automicvault.com/pkg/brew/babeld/) - Local package facts share a topical domain. Shared terms: cli, ipv4, ipv6, networking, protocol.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
