How To Install avahi-tools.x86_64 on Amazon Linux 2

In this tutorial we learn how to install avahi-tools.x86_64 in Amazon Linux 2. avahi-tools.x86_64 is Command line tools for mDNS browsing and publishing

Introduction

In this tutorial we learn how to install avahi-tools.x86_64 on Amazon Linux 2.

What is avahi-tools.x86_64

Command line tools that use avahi to browse and publish mDNS services.

We can use yum to install avahi-tools.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install avahi-tools.x86_64.

Install avahi-tools.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install avahi-tools.x86_64 using yum by running the following command:

sudo yum -y install avahi-tools.x86_64

How To Uninstall avahi-tools.x86_64 on Amazon Linux 2

To uninstall only the avahi-tools.x86_64 package we can use the following command:

sudo yum remove avahi-tools.x86_64

avahi-tools.x86_64 Package Contents on Amazon Linux 2

/usr/bin/avahi-browse
/usr/bin/avahi-browse-domains
/usr/bin/avahi-publish
/usr/bin/avahi-publish-address
/usr/bin/avahi-publish-service
/usr/bin/avahi-resolve
/usr/bin/avahi-resolve-address
/usr/bin/avahi-resolve-host-name
/usr/bin/avahi-set-host-name
/usr/share/man/man1/avahi-browse-domains.1.gz
/usr/share/man/man1/avahi-browse.1.gz
/usr/share/man/man1/avahi-publish-address.1.gz
/usr/share/man/man1/avahi-publish-service.1.gz
/usr/share/man/man1/avahi-publish.1.gz
/usr/share/man/man1/avahi-resolve-address.1.gz
/usr/share/man/man1/avahi-resolve-host-name.1.gz
/usr/share/man/man1/avahi-resolve.1.gz
/usr/share/man/man1/avahi-set-host-name.1.gz

References

Summary

In this tutorial we learn how to install avahi-tools.x86_64 on Amazon Linux 2 using yum.