Skip to content
Daniel Markstedt edited this page Apr 25, 2023 · 26 revisions

Recommended packages

When compiling Netatalk from scratch, you will need to install a number of required and optional packages to get a fully functional installation.

This page is intended to serve as a companion to the Installation chapter (2.2) of the Netatalk manual. Distros come and go and package names change, so this kind of fluid documentation is more suited for a wiki.

Debian Linux

Mandatory packages.

$ apt install libssl-dev libdb-dev autotools-dev automake libtool libtool-bin pkg-config libevent-dev

For papd printer server support, install CUPS packages. (netatalk2 only)

$ apt install libcups2-dev cups

For Zeroconf (Bonjour) service discovery in Mac OS X 10.2 or later, install Avahi packages.

$ apt install libavahi-client-dev

For DHX2 authentication support, required for Mac OS X 10.2 or later, install libgcrypt.

$ apt install libgcrypt20-dev

To use the TCP wrapper install tcpd.

$ apt install tcpd

To enable afpstats support, install libdbus. (netatalk3 only)

$ apt install libdbus-1-dev libdbus-glib-1-dev

To enable Spotlight, install tracker and libdbus (above). (netatalk3 only)

$ apt install tracker libtracker-sparql-X.Y-dev

Fedora Server

$ dnf install openssl-devel libgcrypt-devel libdb-devel automake libtool avahi-devel cups-devel

For the asip-status.pl script

$ dnf install perl-IO-Socket-IP perl-IO-Socket-INET6

CentOS 9 Stream

$ dnf install openssl-devel libgcrypt-devel libdb-devel automake libtool avahi-libs libevent-devel krb5-devel

For the asip-status.pl script

$ dnf install perl-IO-Socket-IP perl-IO-Socket-INET6

OmniOSce

Note: These packages may apply also to other OpenSolaris / Illumos distros.

$ pkg install git libtool automake gcc7 bdb

To bootstrap:

$ pkg install pkg-config

FreeBSD 13.1

To bootstrap:

$ pkg install pkgconf autoconf libtool automake

To build:

$ pkg install libgcrypt db5 libevent

Zeroconf support:

$ pkg install avahi

With FreeBSD 13.1, the libevent library lives in non-standard location /usr/local/lib so the linker flag must be set appropriately when configuring:

$ LDFLAGS="-L/usr/local/lib" ./configure
Clone this wiki locally