-
Notifications
You must be signed in to change notification settings - Fork 99
Installation Notes
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.
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
$ 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
$ 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
Note: These packages may apply also to other OpenSolaris / Illumos distros.
$ pkg install git libtool automake gcc7 bdb
To bootstrap:
$ pkg install pkg-config
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
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
- MySQL CNID Backend
Development