Install Avahi on your Pi

Pierre Loret
1 min readFeb 28, 2017

--

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 :

--

--

Pierre Loret
Pierre Loret

Written by Pierre Loret

@Pi3rre_Loret on Twitter. R&D Engineer for HV Powertrain & transmission control systems. French, settled in Paris area, France.