# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix 安装 netatalk

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

## 安装

```sh
sudo av install brew:netatalk
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install netatalk
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install netatalk
```

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

### Linux

- apk (92%):

```sh
sudo apk add netatalk
```

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

- Debian apt (92%):

```sh
sudo apt install netatalk
```

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

- dnf (92%):

```sh
sudo dnf install netatalk
```

  证据: Fedora Rawhide package metadata: netatalk 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#netatalk
```

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

## 软件包事实

- **软件包键:** brew:netatalk
- **软件包管理器:** Homebrew
- **版本:** 4.5.1
- **来源摘要:** File server for Macs, compliant with Apple Filing Protocol (AFP)
- **主页:** <https://netatalk.io>
- **仓库:** <https://github.com/Netatalk/netatalk>
- **最后更新:** 2026-07-17T10:50:18Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- a2boot (别名)
- addump (别名)
- aecho (别名)
- afp_lantest (别名)
- afp_logintest (别名)
- afp_spectest (别名)
- afp_speedtest (别名)
- afparg (别名)
- afpd (别名)
- afpldaptest (别名)
- afppasswd (别名)
- afpstats (别名)
- asip-status (别名)
- atalkd (别名)
- cnid_dbd (别名)
- cnid_metad (别名)
- dbd (别名)
- fce_listen (别名)
- getzones (别名)
- macipgw (别名)
- nad (别名)
- nbplkup (别名)
- nbprgstr (别名)
- nbpunrgstr (别名)
- netatalk (别名)
- pap (别名)
- papd (别名)
- papstatus (别名)
- rtmpqry (别名)
- timelord (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Netatalk is the open source AFP and AppleTalk file-server suite for Unix-like systems. It lets Unix, Linux, BSD, and macOS hosts serve files to Classic Mac OS, early Mac OS X, modern macOS AFP clients, and some third-party AFP clients.

### 项目历史

Netatalk's own roadmap summarizes major feature history from 1990 through 2013, and later releases continued the AFP server line. The project has moved from classic AppleTalk-oriented service into AFP-over-TCP, macOS interoperability, CNID backends, Zeroconf, Spotlight-style search, and then renewed retro-networking support.

The 3.x series emphasized modern AFP service, including a unified `afp.conf`, filesystem extended attributes, AFP 3.4 compliance, Samba interoperability, and production-server features. The 4.x line brought back AppleTalk support behind explicit build and configuration flags, serving the revived vintage Mac and Apple II networking audience.

### 采用历史

Netatalk became important wherever Unix systems needed to look like AppleShare servers. Its official site emphasizes that conforming macOS, Mac OS X, and Classic Mac OS systems can connect out of the box; the 2.2 release notes also describe AppleTalk routing, print serving, PAP printer access, and related tools.

Its modern adoption is split: production AFP servers are narrower because SMB became the dominant macOS file-sharing protocol, but vintage-computing users, retro NAS projects, and mixed Mac labs still need AFP, AppleDouble metadata handling, CNID databases, MacIP, and AppleTalk-era utilities.

Homebrew showed a small but real audience, with 618 stable installs and 5 HEAD installs in the 365-day formula window. That tracks with a specialist server package rather than a general desktop tool.

### 使用方式

Package users run `afpd` through the `netatalk` service controller, configure shares in `afp.conf`, manage AFP passwords with `afppasswd`, and use bundled diagnostic/test tools such as `afp_lantest`, `afp_speedtest`, and `asip-status`.

Retro-networking users care about whether AppleTalk is compiled and enabled, plus companion daemons and tools such as `atalkd`, `papd`, `nbplkup`, `getzones`, `macipgw`, `a2boot`, and `timelord`. Modern server users care more about authentication, metadata storage, CNID reliability, Zeroconf advertisement, and macOS Finder behavior.

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

Netatalk is packaging as protocol preservation. It keeps AFP and AppleTalk workflows usable after Apple's own platform incentives moved elsewhere, and it packages many small protocol-era utilities that would be painful to rebuild piecemeal.

### 时间线

- 1990: Netatalk roadmap begins its earlier release-history summary.
- 2.1 series: AFP 3.2 compliance, IPv6 support, and Zeroconf service discovery appear in the roadmap summary.
- 2.2 series: AFP 3.3 compliance and filesystem change events appear in the roadmap summary.
- 3.0 series: unified `afp.conf`, extended-attributes metadata backend, service controller daemon, and `afpstats` appear in the roadmap summary.
- 3.1 series: AFP 3.4 compliance, Spotlight-compatible indexed search, MySQL CNID backend, and Samba interoperability appear in the roadmap summary.
- September 2024: 4.0.0 release notes document AppleTalk support requiring the `-Dwith-appletalk=true` build option and `appletalk = yes` configuration.
- January 11, 2025: 4.1.0 news archive announced improved macOS-host interoperability and MacIP Gateway improvements.

### Related projects

- AppleShare
- Apple Filing Protocol
- AppleTalk
- MacIP
- Samba
- RetroNAS
- afpfs-ng

### 来源

- <https://formulae.brew.sh/formula/netatalk>
- <https://github.com/Netatalk/netatalk>
- <https://netatalk.io/2.2/ReleaseNotes2.2.5.html>
- <https://netatalk.io/4.0/ReleaseNotes4.0.0.html>
- <https://netatalk.io/docs/Roadmap>
- <https://netatalk.io/index.html>
- <https://netatalk.io/manual/en/Configuration.html>
- <https://netatalk.io/manual/en/afpd.8.html>


## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service


## 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: afp.conf in the compiled Netatalk configuration directory, extmap.conf in the compiled Netatalk configuration directory

## Credential files

- Unix: afppasswd, afppasswd.srp, afppasswd.key in the compiled Netatalk configuration directory
## 其他软件包管理器记录

- Debian apt - a2boot - 4.2.3~ds-1+deb13u2: normalized package name match | Debian stable package indexes: a2boot from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | AppleTalk Network Suite (Apple II NetBoot) | https://github.com/Netatalk/netatalk
- Debian apt - atalkd - 4.2.3~ds-1+deb13u2: normalized package name match | Debian stable package indexes: atalkd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | AppleTalk Network Suite | https://github.com/Netatalk/netatalk
- Debian apt - libatalk - 4.2.3~ds-1+deb13u2: normalized package name match | Debian stable package indexes: libatalk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apple Filing Protocol service (shared library) | https://github.com/Netatalk/netatalk
- Debian apt - libatalk-dev - 4.2.3~ds-1+deb13u2: normalized package name match | Debian stable package indexes: libatalk-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apple Filing Protocol service (development files) | https://github.com/Netatalk/netatalk
- Debian apt - macipgw - 4.2.3~ds-1+deb13u2: normalized package name match | Debian stable package indexes: macipgw from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | AppleTalk Network Suite (MacIP Gateway) | https://github.com/Netatalk/netatalk
- Debian apt - netatalk - 4.2.3~ds-1+deb13u2: normalized package name match | Debian stable package indexes: netatalk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apple Filing Protocol service | https://github.com/Netatalk/netatalk
- Debian apt - netatalk-doc - 4.2.3~ds-1+deb13u2: normalized package name match | Debian stable package indexes: netatalk-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apple Filing Protocol service (documentation) | https://github.com/Netatalk/netatalk
- Debian apt - netatalk-tests - 4.2.3~ds-1+deb13u2: normalized package name match | Debian stable package indexes: netatalk-tests from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apple Filing Protocol service (test tools) | https://github.com/Netatalk/netatalk
- Debian apt - netatalk-tools - 4.2.3~ds-1+deb13u2: normalized package name match | Debian stable package indexes: netatalk-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apple Filing Protocol service (administrative tools) | https://github.com/Netatalk/netatalk
- Debian apt - papd - 4.2.3~ds-1+deb13u2: normalized package name match | Debian stable package indexes: papd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | AppleTalk Network Suite (PAP Print Server) | https://github.com/Netatalk/netatalk
- Debian apt - timelord - 4.2.3~ds-1+deb13u2: normalized package name match | Debian stable package indexes: timelord from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | AppleTalk Network Suite (Timelord Time Server) | https://github.com/Netatalk/netatalk
- Nix - netatalk: normalized package name match | nixpkgs package indexes: pkgs/by-name/ne/netatalk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - netatalk - 3.1.18~ds-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: netatalk from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Apple Filing Protocol service | https://github.com/Netatalk/netatalk
- apk - netatalk - 4.5.1-r0: normalized package name match | Alpine Linux edge package indexes: netatalk from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open Source AFP fileserver | https://netatalk.io/
- apk - netatalk-dev - 4.5.1-r0: normalized package name match | Alpine Linux edge package indexes: netatalk-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open Source AFP fileserver (development files) | https://netatalk.io/
- apk - netatalk-doc - 4.5.1-r0: normalized package name match | Alpine Linux edge package indexes: netatalk-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open Source AFP fileserver (documentation) | https://netatalk.io/


## Combined YAML source

View the package source record on GitHub. [combined/netatalk.yml](https://github.com/mxcl/pkgdb/blob/main/combined/netatalk.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
