-
Notifications
You must be signed in to change notification settings - Fork 93
Installing Netatalk on Alpine Linux
The easiest way to get Netatalk on Alpine Linux is to install the netatalk package with apk
.
For building and installing from source yourself, find links to the official documentation below.
- Compile Netatalk from Source: Alpine in the Manual
- INSTALL.md in the source tree
Many of the packages that Netatalk rely on, 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.
Below follows the build instructions for the legacy Autotools build system. In most cases, you want to follow the instructions in the links at the top of this page to install a later version instead.
Packages required for bootstrapping the build system:
apk add autoconf automake libtool pkgconfig
Packages required for building:
apk add avahi-dev build-base cups cups-dev db-dev gcc libgcrypt-dev openssl-dev
Optional packages:
apk add acl-dev cracklib-dev krb5-dev libtirpc-dev openldap-dev
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. In the worst case, building BDB is always an option.
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.
First, bootstrap the autotools build system:
./bootstrap
Second, configure the build system:
./configure
Or, if you installed all the optional packages:
./configure --enable-openrc --enable-krbV-uam --with-cracklib --with-libtirpc
Third, compile and link the code:
make
Finally, install the compiled binaries:
make install
Note: netatalk 2.3.2 and earlier has a bug that prevents the openrc init script on more recent Alpine (and Gentoo) systems. Please apply this patch if needed.
By default, the init script will launch afpd and cnid_metad. If you want the AppleTalk service to start up as well, edit your local netatalk.conf
file and set ATALKD_RUN=yes
etc.
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
Resources
OS Specific Guides
- Installing Netatalk on Alpine Linux
- Installing Netatalk on Debian Linux
- Installing Netatalk on Fedora Linux
- Installing Netatalk on FreeBSD
- Installing Netatalk on macOS
- Installing Netatalk on NetBSD
- Installing Netatalk on OmniOS
- Installing Netatalk on OpenBSD
- Installing Netatalk on OpenIndiana
- Installing Netatalk on openSUSE
- Installing Netatalk on Solaris
- Installing Netatalk on Ubuntu
Technical Docs
- CatalogSearch
- Kerberos
- Special Files and Folders
- Spotlight
- AppleTalk Kernel Module
- Print Server
- MacIP Gateway
Development