*** Quick install instructions (tested on Debian/Ubuntu only!) ***
While "configure" and "make" may be run as normal user all other commands
need to be run as root.
Configure the build system:
$ ./configure --sysconfdir=/etc --localstatedir=/var
Some configure options available:
--disable-gtk disable GTK+ tools (default: enabled)
--disable-dbus disable DBUS support (default: enabled)
--disable-python disable building python modules (default: enabled)
--with-dbus-sys=
where D-BUS system.d directory is
--with-distro= the target Linux distribution (one of redhat,
suse, gentoo, debian or slackware)
--with-avahi-user= User for running the Avahi daemon (avahi)
--with-avahi-group= Group for Avahi (avahi)
Please note that by disabling DBUS you lose the ability to publish and browse
services from local applications.
Please note that only the Debian init script is currently up-to-date.
YMMV on other distributions. Patches welcome!
$ make
# make install
Add a user an a group for avahi. (Debian specific)
# addgroup --system avahi
# adduser --system --no-create-home --ingroup avahi avahi
Ask DBUS to re-read its policies:
# kill -HUP `cat /var/run/dbus/pid`
Now start the Avahi daemon:
# /etc/init.d/avahi-daemon start
Optionally start the unicast DNS configuration daemon:
# /etc/init.d/avahi-dnsconfd start
To start the two daemons at boot time on Debian based distributions:
avahi-daemon without DBUS support:
# update-rc.d avahi-daemon defaults 25 15
avahi-daemon with DBUS support:
# ln -s /etc/init.d/avahi-daemon /etc/dbus/event.d/75avahi-daemon
avahi-dnsconfd:
# update-rc.d avahi-dnsconfd defaults 26 14
$Id$