Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt 安装 avahi

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install avahi

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install avahi

MacPorts ports tree · net/avahi/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add avahi

Alpine Linux edge package indexes · avahi · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install avahi

Fedora Rawhide package metadata · avahi · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#avahi

nixpkgs package indexes · pkgs/by-name/av/avahi/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S avahi

Arch Linux sync databases · avahi · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install avahi

openSUSE Tumbleweed package metadata · avahi · 来源: download.opensuse.org

Debian apt已验证 · 92%
sudo apt install avahi-autoipd

Debian stable package indexes · avahi-autoipd · 来源: deb.debian.org

概览

软件包摘要

Service Discovery for Linux using mDNS/DNS-SD

命令和别名

  • 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

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 2 个平台目标。
  • 安装时包含 7 个运行时依赖。
  • 构建元数据列出 8 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
/etc/avahi/avahi-daemon.conf/etc/avahi/services/*.service~/.config/avahi/browse-domains

可执行文件

已安装的可执行文件

命令类型暴露范围备注
avahi-autoipdcli全局可执行文件
avahi-browsecli全局可执行文件
avahi-browse-domainscli全局可执行文件
avahi-daemoncli全局可执行文件
avahi-dnsconfdcli全局可执行文件
avahi-publishcli全局可执行文件
avahi-publish-addresscli全局可执行文件
avahi-publish-servicecli全局可执行文件
avahi-resolvecli全局可执行文件
avahi-resolve-addresscli全局可执行文件
avahi-resolve-host-namecli全局可执行文件
avahi-set-host-namecli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本0.9-rc5
管理器更新时间2026-06-25
本地数据OK
上游当前
检测到的最新版本v0.9-rc5

https://github.com/avahi/avahi

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖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 DatabaseHomebrew formula API
Taphomebrew/core
Full Nameavahi
Version Scheme0
Revision0
Requirements
  • linux
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

avahi-autoipd 0.8-16

Avahi IPv4LL network address configuration daemon

https://avahi.org/

sudo apt install avahi-autoipd
  • Section: net
  • Architecture: amd64
  • Source Package: avahi
  • 3 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Avahi
Debian stable package indexes · deb.debian.org · Debian stable package indexes: avahi-autoipd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

avahi-daemon 0.8-16

Avahi mDNS/DNS-SD daemon

https://avahi.org/

sudo apt install avahi-daemon
  • Section: net
  • Architecture: amd64
  • Source Package: avahi
  • 11 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Avahi
Debian stable package indexes · deb.debian.org · Debian stable package indexes: avahi-daemon from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

avahi-discover 0.8-16

Service discover user interface for avahi

https://avahi.org/

sudo apt install avahi-discover
  • Section: net
  • Architecture: all
  • Source Package: avahi
  • 7 依赖
  • normalized package name match
  • 匹配方式:Avahi
Debian stable package indexes · deb.debian.org · Debian stable package indexes: avahi-discover from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

avahi-dnsconfd 0.8-16

Avahi DNS configuration tool

https://avahi.org/

sudo apt install avahi-dnsconfd
  • Section: net
  • Architecture: amd64
  • Source Package: avahi
  • 4 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Avahi
Debian stable package indexes · deb.debian.org · Debian stable package indexes: avahi-dnsconfd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

avahi-ui-utils 0.8-16

Avahi GTK+ utilities

https://avahi.org/

sudo apt install avahi-ui-utils
  • Section: utils
  • Architecture: amd64
  • Source Package: avahi
  • 6 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Avahi
Debian stable package indexes · deb.debian.org · Debian stable package indexes: avahi-ui-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

avahi-utils 0.8-16

Avahi browsing, publishing and discovery utilities

https://avahi.org/

sudo apt install avahi-utils
  • Section: net
  • Architecture: amd64
  • Source Package: avahi
  • 5 依赖
  • normalized package name match
  • 匹配方式:Avahi
Debian stable package indexes · deb.debian.org · Debian stable package indexes: avahi-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gir1.2-avahi-0.6 0.8-16

GObject introspection data for Avahi

https://avahi.org/

sudo apt install gir1.2-avahi-0.6
  • Section: introspection
  • Architecture: amd64
  • Source Package: avahi
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Avahi
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gir1.2-avahi-0.6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libavahi-client-dev 0.8-16

Development files for the Avahi client library

https://avahi.org/

sudo apt install libavahi-client-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: avahi
  • 3 依赖
  • normalized package name match
  • 匹配方式:Avahi
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libavahi-client-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libavahi-client3 0.8-16

Avahi client library

https://avahi.org/

sudo apt install libavahi-client3
  • Section: libs
  • Architecture: amd64
  • Source Package: avahi
  • 3 依赖
  • normalized package name match
  • 匹配方式:Avahi
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libavahi-client3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libavahi-common-data 0.8-16

Avahi common data files

https://avahi.org/

sudo apt install libavahi-common-data
  • Section: libs
  • Architecture: amd64
  • Source Package: avahi
  • normalized package name match
  • 匹配方式:Avahi
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libavahi-common-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libavahi-common-dev 0.8-16

Development files for the Avahi common library

https://avahi.org/

sudo apt install libavahi-common-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: avahi
  • 1 依赖
  • normalized package name match
  • 匹配方式:Avahi
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libavahi-common-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libavahi-common3 0.8-16

Avahi common library

https://avahi.org/

sudo apt install libavahi-common3
  • Section: libs
  • Architecture: amd64
  • Source Package: avahi
  • 2 依赖
  • normalized package name match
  • 匹配方式:Avahi
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libavahi-common3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libavahi-compat-libdnssd-dev 0.8-16

Development headers for the Avahi Apple Bonjour compatibility library

https://avahi.org/

sudo apt install libavahi-compat-libdnssd-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: avahi
  • 2 依赖
  • normalized package name match
  • 匹配方式:Avahi
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libavahi-compat-libdnssd-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libavahi-compat-libdnssd1 0.8-16

Avahi Apple Bonjour compatibility library

https://avahi.org/

sudo apt install libavahi-compat-libdnssd1
  • Section: libs
  • Architecture: amd64
  • Source Package: avahi
  • 3 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Avahi
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libavahi-compat-libdnssd1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libavahi-core-dev 0.8-16

Development files for Avahi's embeddable mDNS/DNS-SD library

https://avahi.org/

sudo apt install libavahi-core-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: avahi
  • 2 依赖
  • normalized package name match
  • 匹配方式:Avahi
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libavahi-core-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libavahi-core7 0.8-16

Avahi's embeddable mDNS/DNS-SD library

https://avahi.org/

sudo apt install libavahi-core7
  • Section: libs
  • Architecture: amd64
  • Source Package: avahi
  • 2 依赖
  • normalized package name match
  • 匹配方式:Avahi
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libavahi-core7 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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