avahi-dnsconfd command not found

In this troubleshooting guide we learn how to fix avahi-dnsconfd command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

avahi-dnsconfd: command not found

or when using sudo you get the following error message

sudo: avahi-dnsconfd: command not found

Solutions to avahi-dnsconfd: command not found

How To Fix avahi-dnsconfd: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu avahi-dnsconfd is provided by avahi-dnsconfd package.

avahi-dnsconfd 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 tool listens on the network for announced DNS servers and passes them to resolvconf so it can use them. This is very useful on autoconfigured IPv6 networks.

To fix this problem, we can install more using the command below.

sudo apt-get -y install avahi-dnsconfd

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install avahi-dnsconfd.

sudo apt -y install avahi-dnsconfd

Or if you have aptitude installed you can use the following command.

sudo aptitude install avahi-dnsconfd

Summary

In this tutorial we learn how to fix avahi-dnsconfd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.