Avahi is an open-source implementation of zero-configuration networking, also known as Bonjour or mDNS, which allows devices to automatically discover and communicate with each other on a local network without requiring any manual configuration. This guide will walk you through the process of setting up avahi-daemon on Ubuntu, enabling you to reach the hostname ubuntu.local
from the host OS, Samba, and through network discovery.
Step 1: Install Avahi Packages
Open a terminal and execute the following command to install the required Avahi packages: