macOS
brew install avahilocal Homebrew formula metadata
sudo port install avahiMacPorts ports tree · net/avahi/Portfile · 来源: api.github.com
安装
brew install avahilocal Homebrew formula metadata
sudo port install avahiMacPorts ports tree · net/avahi/Portfile · 来源: api.github.com
sudo apk add avahiAlpine Linux edge package indexes · avahi · 来源: dl-cdn.alpinelinux.org
sudo dnf install avahiFedora Rawhide package metadata · avahi · 来源: dl.fedoraproject.org
nix profile install nixpkgs#avahinixpkgs package indexes · pkgs/by-name/av/avahi/package.nix · 来源: api.github.com
sudo pacman -S avahiArch Linux sync databases · avahi · 来源: geo.mirror.pkgbuild.com
sudo zypper install avahiopenSUSE Tumbleweed package metadata · avahi · 来源: download.opensuse.org
sudo apt install avahi-autoipdDebian stable package indexes · avahi-autoipd · 来源: deb.debian.org
概览
Service Discovery for Linux using mDNS/DNS-SD
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
/etc/avahi/avahi-daemon.conf/etc/avahi/services/*.service~/.config/avahi/browse-domains可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
avahi-autoipd | cli | 全局可执行文件 | |
avahi-browse | cli | 全局可执行文件 | |
avahi-browse-domains | cli | 全局可执行文件 | |
avahi-daemon | cli | 全局可执行文件 | |
avahi-dnsconfd | cli | 全局可执行文件 | |
avahi-publish | cli | 全局可执行文件 | |
avahi-publish-address | cli | 全局可执行文件 | |
avahi-publish-service | cli | 全局可执行文件 | |
avahi-resolve | cli | 全局可执行文件 | |
avahi-resolve-address | cli | 全局可执行文件 | |
avahi-resolve-host-name | cli | 全局可执行文件 | |
avahi-set-host-name | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/avahi/avahi
安装元数据
| 软件包键 | brew:avahi |
|---|---|
| 版本 | 0.9-rc5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/avahi |
| 主页 | https://avahi.org |
| 仓库 | https://github.com/avahi/avahi |
| 上游文档 | https://avahi.org/ |
| 许可证 | LGPL-2.1-or-later |
| 源码归档 | https://github.com/avahi/avahi/archive/refs/tags/v0.9-rc5.tar.gz |
| 最后更新 | 2026-06-25T15:14:19Z |
| Pulse | updated |
| 依赖 | dbus, expat, gdbm, glib, libcap, libdaemon, systemd |
| 构建依赖 | autoconf, automake, gettext, libtool, m4, perl, pkgconf, xmltoman |
| Bottle | 可用 (于 arm64_linux, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | avahi |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
avahi-autoipd 0.8-16
Avahi IPv4LL network address configuration daemon
sudo apt install avahi-autoipdavahi-daemon 0.8-16
Avahi mDNS/DNS-SD daemon
sudo apt install avahi-daemonavahi-discover 0.8-16
Service discover user interface for avahi
sudo apt install avahi-discoveravahi-dnsconfd 0.8-16
Avahi DNS configuration tool
sudo apt install avahi-dnsconfdavahi-ui-utils 0.8-16
Avahi GTK+ utilities
sudo apt install avahi-ui-utilsavahi-utils 0.8-16
Avahi browsing, publishing and discovery utilities
sudo apt install avahi-utilsgir1.2-avahi-0.6 0.8-16
GObject introspection data for Avahi
sudo apt install gir1.2-avahi-0.6libavahi-client-dev 0.8-16
Development files for the Avahi client library
sudo apt install libavahi-client-devlibavahi-client3 0.8-16
Avahi client library
sudo apt install libavahi-client3libavahi-common-data 0.8-16
Avahi common data files
sudo apt install libavahi-common-datalibavahi-common-dev 0.8-16
Development files for the Avahi common library
sudo apt install libavahi-common-devlibavahi-common3 0.8-16
Avahi common library
sudo apt install libavahi-common3libavahi-compat-libdnssd-dev 0.8-16
Development headers for the Avahi Apple Bonjour compatibility library
sudo apt install libavahi-compat-libdnssd-devlibavahi-compat-libdnssd1 0.8-16
Avahi Apple Bonjour compatibility library
sudo apt install libavahi-compat-libdnssd1libavahi-core-dev 0.8-16
Development files for Avahi's embeddable mDNS/DNS-SD library
sudo apt install libavahi-core-devlibavahi-core7 0.8-16
Avahi's embeddable mDNS/DNS-SD library
sudo apt install libavahi-core7来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.