Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Build netatalk 3.1.11 on Ubuntu 16.04
# Enable extended attributes on filesystem
# Get system to updated state and install required packages
sudo apt update
sudo apt full-upgrade -y
sudo apt install -y clang make libdb-dev libgcrypt20-dev libavahi-client-dev libpam0g-dev
# Get code
cd ~
tar xf netatalk-3.1.11.tar.bz2 && rm netatalk-3.1.11.tar.bz2
cd netatalk-3.1.11
# Build and install
./configure --with-init-style=systemd --disable-static
make -j $(grep -c ^processor /proc/cpuinfo)
sudo make install-strip
# Add to /usr/local/etc/afp.conf (uncomment)
# [Homes]
# basedir regex = /home
# Enable and start
sudo systemctl enable netatalk
sudo systemctl start netatalk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment