Install Avahi on your Pi

Avahi is a software solution enabling an easy-to-use, zero-configuration local network. It is a GNU alternative, very similar to Apple’s Bonjour software solution. As Avahi is based on the same elements as Apple’s solution, it makes it one of the best tool to communicate between your Pi and your Mac.


At first, we will install all the prerequired elements for Avahi :

sudo apt-get install db5.1-util libgcrypt11-dev avahi-daemon libavahi-client-dev libdb5.3-dev

Now that Avahi is installed, we need to make sure that it starts at the boot of the Raspberry Pi. To do this, just type the following command :

sudo update-rc.d avahi-daemon defaults

And you’re done ;-)

Bibliography :