netatalk.io

Installing Netatalk on Solaris

Install Netatalk

The unofficial OpenCSW package repository for Solaris distributes a netatalk binary package that can be installed through their package manager. This repo is useful in particular for older versions of Solaris, for instance Solaris 10.

For building and installing from source yourself, for instance to get a newer version, follow the guides linked here.

Prep work

The Solaris system will need to get the very latest package updates from Oracle in order to build contemporary Netatalk.

First, run a full system update.

pkg update --accept

If needed, manually install the latest SRU for Solaris 11.

If you’re running something earlier than 11.4.81 CBE, you may need to configure mDNS in order for Zeroconf to work properly. As of 11.4.81 CBE, Solaris has discarded mDNS in favor of Avahi.

Meson build system

The base image of Solaris 11.4 comes with Meson v0.59.2 which is too old for Netatalk. If you upgrade to Oracle Solaris 11.4.81 CBE you will get a recent enough version of Meson.

However, if you’re stuck on an older Solaris system that cannot be upgraded, uninstall the stock Meson and install the one distributed by Python pip instead.

# pkg uninstall meson
# pkg update --accept
# pip install meson

Solaris 10

Tested on Solaris 10 (1/13)

Note that the last version known to work well on Solaris 10 is 3.1.8. You can get a pre-built package of this version from OpenCSW.

Below follows instructions for building the software from scratch, if you so prefer.

Prep work

Install the OpenCSW repository and package manager.

Add paths to development tool dirs to the PATH variable, e.g. by adding this line to .profile

PATH=$PATH:/usr/ccs/bin:/usr/sfw/bin:/opt/csw/bin

Install netatalk package

To install the prebuilt binary package for netatalk, do:

pkgutil -y -i netatalk

Build from source

These instructions are for building netatalk from scratch.

Install required packages

pkgutil -y -i git libtool automake autoconf pkgconfig gcc5core berkeleydb48_devel libgcrypt_dev libevent_dev

Configure and build

./bootstrap
env PKG_CONFIG_PATH=/opt/csw/lib/pkgconfig ./configure \
    --with-init-style=solaris \
    --with-libgcrypt-dir=/opt/csw \
    --with-pam-confdir=/etc/pam.d \
    --with-bdb=/opt/csw/bdb48 \
    --with-mysql-config=no
make
make install

Starting and stopping

Start Netatalk.

svcadm enable svc:/network/netatalk:default

Stop Netatalk.

svcadm disable svc:/network/netatalk:default

Footnotes

This is a mirror of the Netatalk GitHub Wiki. Please visit the original page if you want to correct an error or contribute new contents.

Last updated 2025-09-07