How To Install avahi-gobject on Rocky Linux 8

In this tutorial we learn how to install avahi-gobject on Rocky Linux 8. avahi-gobject is GObject wrapper library for Avahi

Introduction

In this tutorial we learn how to install avahi-gobject on Rocky Linux 8.

What is avahi-gobject

This library contains a GObject wrapper for the Avahi API

We can use yum or dnf to install avahi-gobject on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install avahi-gobject.

Install avahi-gobject on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install avahi-gobject

Install avahi-gobject on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install avahi-gobject

How To Uninstall avahi-gobject on Rocky Linux 8

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

sudo dnf remove avahi-gobject

avahi-gobject Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/79
/usr/lib/.build-id/79/fbcd01270da0d0234cebd48e6b383cecc18b20
/usr/lib/libavahi-gobject.so.0
/usr/lib/libavahi-gobject.so.0.0.5
/usr/lib/.build-id
/usr/lib/.build-id/81
/usr/lib/.build-id/81/3b0d5c8cbf5b438bbc241c40da6a962b407655
/usr/lib64/libavahi-gobject.so.0
/usr/lib64/libavahi-gobject.so.0.0.5

References

Summary

In this tutorial we learn how to install avahi-gobject on Rocky Linux 8 using yum and dnf.