avahi-daemon command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
avahi-daemon: command not found
or when using sudo you get the following error message
sudo: avahi-daemon: command not found
Solutions to avahi-daemon: command not found
How To Fix avahi-daemon: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu avahi-daemon is provided by avahi-daemon package.
avahi-daemon is:
Avahi is a fully LGPL framework for Multicast DNS Service Discovery. It allows programs to publish and discover services and hosts running on a local network with no specific configuration. For example you can plug into a network and instantly find printers to print to, files to look at and people to talk to.
This package contains the Avahi Daemon which represents your machine on the network and allows other applications to publish and resolve mDNS/DNS-SD records.
To fix this problem, we can install more using the command below.
sudo apt-get -y install avahi-daemon
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install avahi-daemon.
sudo apt -y install avahi-daemon
Or if you have aptitude installed you can use the following command.
sudo aptitude install avahi-daemon
Summary
In this tutorial we learn how to fix avahi-daemon command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.