Mounting AFP File shares with Ubuntu Linux and Debian 6

I’m moving things from one machine to another and I setup an AFP share and not an SMB share on a mac where I need to transfer my files.. I could just turn on SMB.. but whats the fun in that?

To install AFP support for Ubuntu you must first install these packages:

sudo apt-get install libfuse-dev libreadline-dev libgcrypt-dev libgmp3-dev

Then you need to download the AfpFs-Ng source files from sourceforge and compile them.

http://sourceforge.net/projects/afpfs-ng/

you unzip those files into a directory, and cd into it, then type::
./configure
make
sudo make install
sudo ldconfig

Then to mount your share you type, as a regular user:

mount_afp 'afp://user:[email protected]/sharename' /placewhereyouwannamountit/

To unmount you type:

afp_client unmount /mountname/

15 thoughts on “Mounting AFP File shares with Ubuntu Linux and Debian 6

Leave a Reply