Skip to content

Instantly share code, notes, and snippets.

@vena
Created June 2, 2012 03:57
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save vena/2856490 to your computer and use it in GitHub Desktop.
Save vena/2856490 to your computer and use it in GitHub Desktop.
Netatalk 3.0 beta installation procedure (Ubuntu 12.04)

Install prerequisites:

$ sudo apt-get install build-essential pkg-config checkinstall git-core avahi-daemon libavahi-client-dev

Download src:

$ cd /usr/local/src
$ git clone git://netatalk.git.sourceforge.net/gitroot/netatalk/netatalk
$ cd netatalk
$ ./bootstrap

Find current version of Berkeley DB available

$ apt-cache search libdb

Mine was 5.1, so I'll install that

$ sudo apt-get install libdb5.1-dev db-util db5.1-util

Same for libgcrypt:

$ apt-cache search libgcrypt
$ sudo apt-get install libgcrypt11 libgcrypt11-dev

Configure install

$ ./configure --with-init-style=debian --with-zeroconf

Build!

$ make
$ sudo checkinstall

Config is in /usr/local/etc/afp.conf

@dreamspy
Copy link

Doing crw's trick with the version seemed to fix my problems! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment