avahi-autoipd command not found

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

Introduction

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

avahi-autoipd: command not found

or when using sudo you get the following error message

sudo: avahi-autoipd: command not found

Solutions to avahi-autoipd: command not found

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

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

avahi-autoipd 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 implements IPv4LL, “Dynamic Configuration of IPv4 Link-Local Addresses” (IETF RFC3927), a protocol for automatic IP address configuration from the link-local 169.254.0.0/16 range without the need for a central server. It is primarily intended to be used in ad-hoc networks which lack a DHCP server.

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

sudo apt-get -y install avahi-autoipd

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

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

sudo apt -y install avahi-autoipd

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

sudo aptitude install avahi-autoipd

Summary

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