Installing Netatalk on Alpine Linux
Install the latest Netatalk
The easiest way to get Netatalk on Alpine Linux is to install the netatalk package with apk
.
For building and installing from source yourself, for instance to get a newer version, follow the guides linked here.
Prepare
Many of the packages that Netatalk rely on, including netatalk itself, are in Alpine’s Community repository. This repository may be disabled by default, in which case you need to enable it before attempting to install the required packages.
See the Alpine Linux Wiki for more information.
Berkeley DB
As of Alpine 3.13.0 (Jan 14, 2021), BDB is officially a deprecated package.
At the time of writing db-dev
still lives on in the Alpine repository, however.
An experimental SQLite CNID backend has been introduced in Netatalk 4.3.0 as a drop-in replacement for Berkeley DB.
Avahi
If you see Avahi initialization errors, the avahi-daemon may need to be launched manually. Do this if zeroconf service discovery doesn’t work out of the box.
Run
One off start/stop of netatalk daemons
rc-service netatalk start
rc-service netatalk stop
Enable and disable startup on system boot
rc-update add netatalk default
rc-update del netatalk default
Footnotes
This is a mirror of the Netatalk GitHub Wiki. Please visit the original page if you want to correct an error or contribute new contents.
Last updated 2025-09-14