avahi-discover command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
avahi-discover: command not found
or when using sudo you get the following error message
sudo: avahi-discover: command not found
Solutions to avahi-discover: command not found
How To Fix avahi-discover: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu avahi-discover is provided by avahi-discover package.
avahi-discover 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 a user interface for discovering services.
To fix this problem, we can install more using the command below.
sudo apt-get -y install avahi-discover
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install avahi-discover.
sudo apt -y install avahi-discover
Or if you have aptitude installed you can use the following command.
sudo aptitude install avahi-discover
Summary
In this tutorial we learn how to fix avahi-discover command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.