====== Netatalk ====== ===== Debian 9 ===== http://netatalk.sourceforge.net/wiki/index.php/Install_Netatalk_3.1.12_on_Debian_9_Stretch === Install Pre-Reqs === sudo apt install build-essential libevent-dev libssl-dev libgcrypt-dev libkrb5-dev \ libpam0g-dev libwrap0-dev libdb-dev libtdb-dev libmariadbclient-dev avahi-daemon \ libavahi-client-dev libacl1-dev libldap2-dev libcrack2-dev systemtap-sdt-dev \ libdbus-1-dev libdbus-glib-1-dev libglib2.0-dev libio-socket-inet6-perl tracker \ libtracker-sparql-1.0-dev libtracker-miner-1.0-dev === Download and Decompress === Download {{ ::netatalk-3.1.12.tar.gz }} tar -zxvf netatalk* === Configure, Build, Install === ./configure \ --with-init-style=debian-systemd \ --without-libevent \ --without-tdb \ --with-cracklib \ --enable-krbV-uam \ --with-pam-confdir=/etc/pam.d \ --with-dbus-daemon=/usr/bin/dbus-daemon \ --with-dbus-sysconf-dir=/etc/dbus-1/system.d \ --with-tracker-pkgconfig-version=1.0 make -j4 sudo make install === Verify === /usr/local/sbin/netatalk -V ; /usr/local/sbin/afpd -V === Edit Configuration File === sudo nano /usr/local/etc/afp.conf [Global] spotlight = no [Home] basedir regex = /home [Data] path = /mac/data [Time Machine] path = /mac/timemachine time machine = yes === Enable & Start === sudo systemctl enable --now avahi-daemon ; sudo systemctl enable --now netatalk ===== Ubuntu 18.04 ===== http://netatalk.sourceforge.net/wiki/index.php/Install_Netatalk_3.1.11_on_Ubuntu_18.04_Bionic sudo apt install build-essential libevent-dev libssl-dev libkrb5-dev libpam0g-dev \ libwrap0-dev libdb-dev libtdb-dev libmysqlclient-dev avahi-daemon libavahi-client-dev \ libacl1-dev libldap2-dev libcrack2-dev libcrack2 systemtap-sdt-dev libdbus-1-dev \ libdbus-glib-1-dev libglib2.0-dev libio-socket-inet6-perl tracker libtracker-sparql-2.0-dev \ libtracker-miner-2.0-dev libgcrypt20-dev Download {{ :netatalk-3.1.12.tar.gz }} $ ./configure \ --with-init-style=debian-systemd \ --without-libevent \ --without-tdb \ --with-cracklib \ --enable-krbV-uam \ --with-pam-confdir=/etc/pam.d \ --with-dbus-daemon=/usr/bin/dbus-daemon \ --with-dbus-sysconf-dir=/etc/dbus-1/system.d \ --with-tracker-pkgconfig-version=2.0 The rest is the same as debian.