How To Install libguestfs-gobject on Rocky Linux 8

In this tutorial we learn how to install libguestfs-gobject on Rocky Linux 8. libguestfs-gobject is GObject bindings for libguestfs

Introduction

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

What is libguestfs-gobject

libguestfs-gobject contains GObject bindings for libguestfs. To develop software against these bindings, you need to install libguestfs-gobject-devel.

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

Install libguestfs-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 libguestfs-gobject using dnf by running the following command:

sudo dnf -y install libguestfs-gobject

Install libguestfs-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 libguestfs-gobject using yum by running the following command:

sudo yum -y install libguestfs-gobject

How To Uninstall libguestfs-gobject on Rocky Linux 8

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

sudo dnf remove libguestfs-gobject

libguestfs-gobject Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/18
/usr/lib/.build-id/18/b9458432fb14b992d2f49a9bdd9b7a14043892
/usr/lib64/girepository-1.0/Guestfs-1.0.typelib
/usr/lib64/libguestfs-gobject-1.0.so.0
/usr/lib64/libguestfs-gobject-1.0.so.0.0.0

References

Summary

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