How To Install avahi.x86_64 on Amazon Linux 2

In this tutorial we learn how to install avahi.x86_64 in Amazon Linux 2. avahi.x86_64 is Local network service discovery

Introduction

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

What is avahi.x86_64

Avahi is a system which facilitates service discovery on a local network – this means that you can plug your laptop or computer into a network and instantly be able to view other people who you can chat with, find printers to print to or find files being shared. This kind of technology is already found in MacOS X (branded ‘Rendezvous’, ‘Bonjour’ and sometimes ‘ZeroConf’) and is very convenient.

We can use yum to install avahi.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.x86_64.

Install avahi.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.x86_64 using yum by running the following command:

sudo yum -y install avahi.x86_64

How To Uninstall avahi.x86_64 on Amazon Linux 2

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

sudo yum remove avahi.x86_64

avahi.x86_64 Package Contents on Amazon Linux 2

/etc/avahi
/etc/avahi/avahi-daemon.conf
/etc/avahi/etc
/etc/avahi/etc/localtime
/etc/avahi/hosts
/etc/avahi/services
/etc/dbus-1/system.d/avahi-dbus.conf
/usr/lib/systemd/system/avahi-daemon.service
/usr/lib/systemd/system/avahi-daemon.socket
/usr/lib64/avahi
/usr/lib64/avahi/service-types.db
/usr/lib64/libavahi-core.so.7
/usr/lib64/libavahi-core.so.7.0.2
/usr/sbin/avahi-daemon
/usr/share/avahi
/usr/share/avahi/avahi-service.dtd
/usr/share/avahi/service-types
/usr/share/dbus-1/interfaces/org.freedesktop.Avahi.AddressResolver.xml
/usr/share/dbus-1/interfaces/org.freedesktop.Avahi.DomainBrowser.xml
/usr/share/dbus-1/interfaces/org.freedesktop.Avahi.EntryGroup.xml
/usr/share/dbus-1/interfaces/org.freedesktop.Avahi.HostNameResolver.xml
/usr/share/dbus-1/interfaces/org.freedesktop.Avahi.RecordBrowser.xml
/usr/share/dbus-1/interfaces/org.freedesktop.Avahi.Server.xml
/usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceBrowser.xml
/usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceResolver.xml
/usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceTypeBrowser.xml
/usr/share/dbus-1/system-services/org.freedesktop.Avahi.service
/usr/share/doc/avahi-0.6.31
/usr/share/doc/avahi-0.6.31/API-CHANGES-0.6
/usr/share/doc/avahi-0.6.31/AUTHORS
/usr/share/doc/avahi-0.6.31/COMPAT-LAYERS
/usr/share/doc/avahi-0.6.31/DBUS-API
/usr/share/doc/avahi-0.6.31/HACKING
/usr/share/doc/avahi-0.6.31/INSTALL
/usr/share/doc/avahi-0.6.31/MALLOC
/usr/share/doc/avahi-0.6.31/NEWS
/usr/share/doc/avahi-0.6.31/README
/usr/share/doc/avahi-0.6.31/TODO
/usr/share/doc/avahi-0.6.31/avahi-poll.dia
/usr/share/doc/avahi-0.6.31/example.service
/usr/share/doc/avahi-0.6.31/overview.dia
/usr/share/doc/avahi-0.6.31/server-states.dia
/usr/share/doc/avahi-0.6.31/sftp-ssh.service
/usr/share/doc/avahi-0.6.31/ssh.service
/usr/share/locale/bg/LC_MESSAGES/avahi.mo
/usr/share/locale/ca/LC_MESSAGES/avahi.mo
/usr/share/locale/cs/LC_MESSAGES/avahi.mo
/usr/share/locale/da/LC_MESSAGES/avahi.mo
/usr/share/locale/de/LC_MESSAGES/avahi.mo
/usr/share/locale/el/LC_MESSAGES/avahi.mo
/usr/share/locale/en_AU/LC_MESSAGES/avahi.mo
/usr/share/locale/en_CA/LC_MESSAGES/avahi.mo
/usr/share/locale/en_GB/LC_MESSAGES/avahi.mo
/usr/share/locale/en_NZ/LC_MESSAGES/avahi.mo
/usr/share/locale/es/LC_MESSAGES/avahi.mo
/usr/share/locale/fi/LC_MESSAGES/avahi.mo
/usr/share/locale/fo/LC_MESSAGES/avahi.mo
/usr/share/locale/fr/LC_MESSAGES/avahi.mo
/usr/share/locale/gl/LC_MESSAGES/avahi.mo
/usr/share/locale/he/LC_MESSAGES/avahi.mo
/usr/share/locale/hu/LC_MESSAGES/avahi.mo
/usr/share/locale/id/LC_MESSAGES/avahi.mo
/usr/share/locale/it/LC_MESSAGES/avahi.mo
/usr/share/locale/ja/LC_MESSAGES/avahi.mo
/usr/share/locale/ms/LC_MESSAGES/avahi.mo
/usr/share/locale/nl/LC_MESSAGES/avahi.mo
/usr/share/locale/pl/LC_MESSAGES/avahi.mo
/usr/share/locale/pt_BR/LC_MESSAGES/avahi.mo
/usr/share/locale/ro/LC_MESSAGES/avahi.mo
/usr/share/locale/ru/LC_MESSAGES/avahi.mo
/usr/share/locale/sl/LC_MESSAGES/avahi.mo
/usr/share/locale/sr/LC_MESSAGES/avahi.mo
/usr/share/locale/sr@latin/LC_MESSAGES/avahi.mo
/usr/share/locale/sv/LC_MESSAGES/avahi.mo
/usr/share/locale/uk/LC_MESSAGES/avahi.mo
/usr/share/locale/zh_CN/LC_MESSAGES/avahi.mo
/usr/share/locale/zh_TW/LC_MESSAGES/avahi.mo
/usr/share/man/man5/avahi-daemon.conf.5.gz
/usr/share/man/man5/avahi.hosts.5.gz
/usr/share/man/man5/avahi.service.5.gz
/usr/share/man/man8/avahi-daemon.8.gz
/var/run/avahi-daemon

References

Summary

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