How To Install avahi-dnsconfd on Ubuntu 20.04

In this tutorial we learn how to install avahi-dnsconfd on Ubuntu 20.04. avahi-dnsconfd is Avahi DNS configuration tool Avahi DNS configuration tool

Introduction

In this tutorial we learn how to install avahi-dnsconfd on Ubuntu 20.04.

What is avahi-dnsconfd

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.

Package: avahi-dnsconfd Architecture: amd64 Version: 0.7-4ubuntu7 Priority: optional Section: universe/net Source: avahi Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Utopia Maintenance Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 100 Depends: libavahi-common3 (>= 0.6.16), libc6 (>= 2.15), libdaemon0 (>= 0.10), avahi-daemon (>= 0.6.31-3~), lsb-base (>= 3.0-6) Recommends: resolvconf Filename: pool/universe/a/avahi/avahi-dnsconfd_0.7-4ubuntu7_amd64.deb Size: 14076 MD5sum: f7fe6b2e466682d02dfa560138b62055 SHA1: e4132e7a9b185c89887dc89fa53baf615e2ba680 SHA256: 30459e7c5641a061670f105cb12a402c8ecc26bcf65ee7032fb45c78492d3d01 Homepage: http://avahi.org/ Description-en: Avahi DNS configuration tool 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.

There are three methods to install avahi-dnsconfd on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install avahi-dnsconfd Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install avahi-dnsconfd using apt-get by running the following command:

sudo apt-get -y install avahi-dnsconfd

Install avahi-dnsconfd Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install avahi-dnsconfd using apt by running the following command:

sudo apt -y install avahi-dnsconfd

Install avahi-dnsconfd Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install avahi-dnsconfd using aptitude by running the following command:

sudo aptitude -y install avahi-dnsconfd

How To Uninstall avahi-dnsconfd on Ubuntu 20.04

To uninstall only the avahi-dnsconfd package we can use the following command:

sudo apt-get remove avahi-dnsconfd

Uninstall avahi-dnsconfd And Its Dependencies

To uninstall avahi-dnsconfd and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove avahi-dnsconfd

Remove avahi-dnsconfd Configurations and Data

To remove avahi-dnsconfd configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge avahi-dnsconfd

Remove avahi-dnsconfd configuration, data, and all of its dependencies

We can use the following command to remove avahi-dnsconfd configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge avahi-dnsconfd

References

Summary

In this tutorial we learn how to install avahi-dnsconfd package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.