# avahi を Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt でインストール

avahi のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:avahi
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install avahi
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install avahi
```

  証拠: MacPorts ports tree: net/avahi/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add avahi
```

  証拠: Alpine Linux edge package indexes: avahi from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install avahi
```

  証拠: Fedora Rawhide package metadata: avahi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#avahi
```

  証拠: nixpkgs package indexes: pkgs/by-name/av/avahi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S avahi
```

  証拠: Arch Linux sync databases: avahi from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install avahi
```

  証拠: openSUSE Tumbleweed package metadata: avahi from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install avahi-autoipd
```

  証拠: Debian stable package indexes: avahi-autoipd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## パッケージ情報

- **パッケージキー:** brew:avahi
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.9-rc5
- **ソース概要:** Service Discovery for Linux using mDNS/DNS-SD
- **ホームページ:** <https://avahi.org>
- **リポジトリ:** <https://github.com/avahi/avahi>
- **最終更新:** 2026-06-25T15:14:19Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- avahi-autoipd (エイリアス)
- avahi-browse (エイリアス)
- avahi-browse-domains (エイリアス)
- avahi-daemon (エイリアス)
- avahi-dnsconfd (エイリアス)
- avahi-publish (エイリアス)
- avahi-publish-address (エイリアス)
- avahi-publish-service (エイリアス)
- avahi-resolve (エイリアス)
- avahi-resolve-address (エイリアス)
- avahi-resolve-host-name (エイリアス)
- avahi-set-host-name (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.9-rc5
## プロジェクトの歴史と使われ方

Avahi is a free LGPL implementation of multicast DNS and DNS Service Discovery, compatible with Apple's Bonjour/Zeroconf stack and primarily targeted at Linux. It provides the daemon, D-Bus API, libraries, compatibility layers, command-line utilities, and service-file conventions used for local-network discovery.

### プロジェクトの歴史

The upstream README names Lennart Poettering and Trent Lloyd among the authors and describes Avahi as a DNS-SD over mDNS implementation compatible with Apple Bonjour. The official site says it is primarily targeted at Linux, runs on many BSD-like systems, and is not ported to Windows.

Avahi's architecture matters because it is not only a daemon. The source tree includes client libraries, core libraries, D-Bus API documentation, compatibility layers for Howl and Bonjour-style DNS-SD APIs, Python and UI utilities, service type databases, man pages, and XML service definitions.

The modern project infrastructure moved from older hosting patterns toward GitHub. The official site notes that in December 2023 the repositories moved from the lathiat namespace to the avahi organization namespace, and that avahi.org itself moved to GitHub Pages.

### 採用の歴史

Avahi became the default service-discovery stack for many Linux distributions because it solved the practical need for `.local` hostnames, printer discovery, file-sharing discovery, and application service announcements without Apple's proprietary Bonjour implementation. The official site explicitly says it ships by default in most distributions.

Package adoption is broad and split by component: distributions package the daemon, utilities, libraries, autoipd, compatibility libraries, and development headers. The input records packages in Homebrew, Debian/Ubuntu, Fedora, Alpine, Arch, MacPorts, Nix, and zypper ecosystems, with Debian and Ubuntu exposing `avahi-autoipd` as a named package entry for this formula mapping.

### 使われ方

Typical user-facing tools include `avahi-browse`, `avahi-publish`, `avahi-resolve`, `avahi-set-host-name`, `avahi-daemon`, and `avahi-autoipd`. Services can be published through D-Bus APIs or by placing XML service definitions in `/etc/avahi/services`.

Configuration centers on `avahi-daemon.conf`, installed under the package system configuration directory, commonly `/etc/avahi/avahi-daemon.conf`. The man page also documents user browse domains through `$AVAHI_BROWSE_DOMAINS` or `~/.config/avahi/browse-domains`.

### パッケージ好きにとっての重要性

Avahi is one of those packages whose importance is larger than the visible command line. It touches init systems, D-Bus activation, NSS integration through nss-mdns, C libraries, desktop printer discovery, service publication, firewall behavior, and network-manager assumptions.

For maintainers, Avahi is a compatibility and integration package: it needs correct defaults, split subpackages, service files, optional UI bindings, and careful coexistence with other mDNS stacks. Its release notes regularly mention distribution-facing changes such as systemd integration, default configuration updates, API additions, and compatibility fixes for FreeBSD, Solaris, musl, and containers.

### タイムライン

- 2004: Copyright range in the upstream README begins, marking the early Avahi development era.
- 2010-2012: 0.6.x bugfix releases continued distribution hardening and system integration.
- 2016: Avahi 0.6.32 released with configuration-default changes and bug fixes.
- 2017: Avahi 0.7 released with binary TXT records in XML service files and gobject context support.
- 2020: Avahi 0.8 released with D-Bus/API additions, Qt5 and libevent mainloop integration, and CVE-2017-6519 mitigation.
- 2023: Official repositories moved to the avahi GitHub organization and the website moved to GitHub Pages.

### Related projects

- nss-mdns: upstream companion project for resolving `.local` hostnames through NSS.
- Apple Bonjour/Zeroconf: compatible technology referenced by the official site.
- D-Bus: primary API transport for most Avahi usage.
- systemd and Linux distribution init systems: frequent integration points in release notes.

### ソース

- <https://avahi.org/>
- <https://raw.githubusercontent.com/avahi/avahi/master/README>
- <https://raw.githubusercontent.com/avahi/avahi/master/docs/NEWS>
- <https://raw.githubusercontent.com/avahi/avahi/master/man/avahi-daemon.conf.5.xml.in>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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/avahi/avahi-daemon.conf, /etc/avahi/services/*.service, ~/.config/avahi/browse-domains
## 他のパッケージマネージャ記録

- Debian apt - avahi-autoipd - 0.8-16: normalized package name match | Debian stable package indexes: avahi-autoipd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Avahi IPv4LL network address configuration daemon | https://avahi.org/
- Debian apt - avahi-daemon - 0.8-16: normalized package name match | Debian stable package indexes: avahi-daemon from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Avahi mDNS/DNS-SD daemon | https://avahi.org/
- Debian apt - avahi-discover - 0.8-16: normalized package name match | Debian stable package indexes: avahi-discover from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Service discover user interface for avahi | https://avahi.org/
- Debian apt - avahi-dnsconfd - 0.8-16: normalized package name match | Debian stable package indexes: avahi-dnsconfd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Avahi DNS configuration tool | https://avahi.org/
- Debian apt - avahi-ui-utils - 0.8-16: normalized package name match | Debian stable package indexes: avahi-ui-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Avahi GTK+ utilities | https://avahi.org/
- Debian apt - avahi-utils - 0.8-16: normalized package name match | Debian stable package indexes: avahi-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Avahi browsing, publishing and discovery utilities | https://avahi.org/
- Debian apt - gir1.2-avahi-0.6 - 0.8-16: normalized package name match | Debian stable package indexes: gir1.2-avahi-0.6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GObject introspection data for Avahi | https://avahi.org/
- Debian apt - libavahi-client-dev - 0.8-16: normalized package name match | Debian stable package indexes: libavahi-client-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for the Avahi client library | https://avahi.org/
- Debian apt - libavahi-client3 - 0.8-16: normalized package name match | Debian stable package indexes: libavahi-client3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Avahi client library | https://avahi.org/
- Debian apt - libavahi-common-data - 0.8-16: normalized package name match | Debian stable package indexes: libavahi-common-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Avahi common data files | https://avahi.org/
- Debian apt - libavahi-common-dev - 0.8-16: normalized package name match | Debian stable package indexes: libavahi-common-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for the Avahi common library | https://avahi.org/
- Debian apt - libavahi-common3 - 0.8-16: normalized package name match | Debian stable package indexes: libavahi-common3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Avahi common library | https://avahi.org/
- Debian apt - libavahi-compat-libdnssd-dev - 0.8-16: normalized package name match | Debian stable package indexes: libavahi-compat-libdnssd-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development headers for the Avahi Apple Bonjour compatibility library | https://avahi.org/
- Debian apt - libavahi-compat-libdnssd1 - 0.8-16: normalized package name match | Debian stable package indexes: libavahi-compat-libdnssd1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Avahi Apple Bonjour compatibility library | https://avahi.org/
- Debian apt - libavahi-core-dev - 0.8-16: normalized package name match | Debian stable package indexes: libavahi-core-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for Avahi's embeddable mDNS/DNS-SD library | https://avahi.org/
- Debian apt - libavahi-core7 - 0.8-16: normalized package name match | Debian stable package indexes: libavahi-core7 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Avahi's embeddable mDNS/DNS-SD library | https://avahi.org/


## Combined YAML source

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


## ソース

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