How To Install avahi-ui-devel on CentOS 7

In this tutorial we learn how to install avahi-ui-devel on CentOS 7. avahi-ui-devel is Libraries and header files for Avahi UI development

Introduction

In this tutorial we learn how to install avahi-ui-devel on CentOS 7.

What is avahi-ui-devel

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

We can use yum or dnf to install avahi-ui-devel on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install avahi-ui-devel.

Install avahi-ui-devel on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install avahi-ui-devel using yum by running the following command:

sudo yum -y install avahi-ui-devel

Install avahi-ui-devel on CentOS 7 Using dnf

If you don’t have dnf installed you can install dnf first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install avahi-ui-devel using dnf by running the following command:

sudo dnf -y install avahi-ui-devel

How To Uninstall avahi-ui-devel on CentOS 7

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

sudo dnf remove avahi-ui-devel

avahi-ui-devel Package Contents on CentOS 7

/usr/include/avahi-ui
/usr/include/avahi-ui/avahi-ui.h
/usr/lib/libavahi-ui-gtk3.so
/usr/lib/libavahi-ui.so
/usr/lib/pkgconfig/avahi-ui-gtk3.pc
/usr/lib/pkgconfig/avahi-ui.pc
/usr/include/avahi-ui
/usr/include/avahi-ui/avahi-ui.h
/usr/lib64/libavahi-ui-gtk3.so
/usr/lib64/libavahi-ui.so
/usr/lib64/pkgconfig/avahi-ui-gtk3.pc
/usr/lib64/pkgconfig/avahi-ui.pc

References

Summary

In this tutorial we learn how to install avahi-ui-devel on CentOS 7 using yum and dnf.