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

In this tutorial we learn how to install avahi-devel.x86_64 in Amazon Linux 2. avahi-devel.x86_64 is Libraries and header files for avahi development

Introduction

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

What is avahi-devel.x86_64

The avahi-devel package contains the header files and libraries necessary for developing programs using avahi.

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

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

sudo yum -y install avahi-devel.x86_64

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

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

sudo yum remove avahi-devel.x86_64

avahi-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/avahi-client
/usr/include/avahi-client/client.h
/usr/include/avahi-client/lookup.h
/usr/include/avahi-client/publish.h
/usr/include/avahi-common
/usr/include/avahi-common/address.h
/usr/include/avahi-common/alternative.h
/usr/include/avahi-common/cdecl.h
/usr/include/avahi-common/defs.h
/usr/include/avahi-common/domain.h
/usr/include/avahi-common/error.h
/usr/include/avahi-common/gccmacro.h
/usr/include/avahi-common/llist.h
/usr/include/avahi-common/malloc.h
/usr/include/avahi-common/rlist.h
/usr/include/avahi-common/simple-watch.h
/usr/include/avahi-common/strlst.h
/usr/include/avahi-common/thread-watch.h
/usr/include/avahi-common/timeval.h
/usr/include/avahi-common/watch.h
/usr/include/avahi-core
/usr/include/avahi-core/core.h
/usr/include/avahi-core/log.h
/usr/include/avahi-core/lookup.h
/usr/include/avahi-core/publish.h
/usr/include/avahi-core/rr.h
/usr/lib64/libavahi-client.so
/usr/lib64/libavahi-common.so
/usr/lib64/libavahi-core.so
/usr/lib64/pkgconfig/avahi-client.pc
/usr/lib64/pkgconfig/avahi-core.pc

References

Summary

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