How to install afpfs-ng in Ubuntu 20.04?

Solution 1:

It is possible to install the 64-bit package using packages from Ubuntu 14.04 LTS.

To download and install the packages use commands below:

mkdir ~/Downloads/afpfs-ng
cd ~/Downloads/afpfs-ng
wget -c http://archive.ubuntu.com/ubuntu/pool/main/r/readline6/libreadline6_6.3-4ubuntu2_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.5.3-2ubuntu4.6_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/a/afpfs-ng/libafpclient0_0.8.1-5ubuntu1_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/multiarch-support_2.19-0ubuntu6.15_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/a/afpfs-ng/afpfs-ng-utils_0.8.1-5ubuntu1_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/a/afpfs-ng/afpfs-ng_0.8.1-5ubuntu1_all.deb

sudo apt-get install ./afpfs-ng_0.8.1-5ubuntu1_all.deb ./afpfs-ng-utils_0.8.1-5ubuntu1_amd64.deb ./libafpclient0_0.8.1-5ubuntu1_amd64.deb ./libreadline6_6.3-4ubuntu2_amd64.deb ./multiarch-support_2.19-0ubuntu6.15_amd64.deb ./libgcrypt11_1.5.3-2ubuntu4.6_amd64.deb

Then use its executables:

  • /usr/bin/afpcmd
  • /usr/bin/afpgetstatus
  • /usr/bin/afpfsd
  • /usr/bin/mount_afp
  • /usr/bin/afp_client