-
Notifications
You must be signed in to change notification settings - Fork 100
Installing Netatalk 2 on macOS
- Compile Netatalk from Source: macOS in the Manual
- INSTALL.md in the source tree
Apple started to switch from AFP to SMB file sharing from Mavericks (10.9) onwards. The built-in afp server was finally removed in Big Sur (11.0) so Netatalk comes in useful if you have a modern Intel or Apple Silicon Mac and wish to share files with a vintage Mac such as a PowerMac G3 or G4 running classic Mac OS 9.
When installing Netatalk 2.3 on Macs running Mojave (10.14) onwards the dependencies are easily installed using Homebrew. To install Homebrew, open Terminal and paste the following:
/bin/bash -c "$(curl -fsS https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install berkeley-db libtool automake autoconf libevent libgcrypt mysql [email protected] libressl pkg-config
Checkout the 2.3 branch and cd to that folder:
git clone https://github.com/Netatalk/netatalk.git
git checkout branch-netatalk-2-3
cd /path/to/netatalk/clone
brew --prefix berkeley-db
brew --prefix [email protected]
or brew --prefix libressl
./bootstrap
./configure --disable-ddp --with-ssl-dir=/path/to/openssl/installation --with-bdb=/path/to/bdb/installation
make
Note: The --disable-ddp
flag is required, since macOS doesn't have an AppleTalk network stack at the time of writing.
sudo make install
sudo launchctl enable system/io.netatalk.daemon
launchctl start netatalk
Underneath the hood we use a controller script called netatalkd
that sets up the required environment.
To start netatalk daemons:
sudo netatalkd start
To stop netatalk daemons:
sudo netatalkd stop
Resources
- Getting Started
- FAQ
- Troubleshooting
- Connect to AFP Server
- Webmin Module
- Benchmarks
- Interoperability with Samba
OS Specific Guides
- Installing Netatalk on Alpine Linux
- Installing Netatalk on Debian Linux
- Installing Netatalk on Fedora Linux
- Installing Netatalk on FreeBSD
- Installing Netatalk on macOS
- Installing Netatalk on NetBSD
- Installing Netatalk on OmniOS
- Installing Netatalk on OpenBSD
- Installing Netatalk on OpenIndiana
- Installing Netatalk on openSUSE
- Installing Netatalk on Solaris
- Installing Netatalk on Ubuntu
Tech Notes
- Kerberos
- Special Files and Folders
- Spotlight
- MySQL CNID Backend
- Slow AFP read performance
- Limiting Time Machine volumes
- Netatalk and ZFS nbmand property
Retro AFP
Development