How To Install cairo-gobject on Rocky Linux 8

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

Introduction

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

What is cairo-gobject

Cairo is a 2D graphics library designed to provide high-quality display and print output. This package contains functionality to make cairo graphics library integrate well with the GObject object system used by GNOME.

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

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

sudo dnf -y install cairo-gobject

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

sudo yum -y install cairo-gobject

How To Uninstall cairo-gobject on Rocky Linux 8

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

sudo dnf remove cairo-gobject

cairo-gobject Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/95230183847fa5d6f8224b7694ec5910b5c506
/usr/lib64/libcairo-gobject.so.2
/usr/lib64/libcairo-gobject.so.2.11512.0
/usr/lib/.build-id
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/e2b50a1211582fe306fb503d9b0637b7a36a84
/usr/lib/libcairo-gobject.so.2
/usr/lib/libcairo-gobject.so.2.11512.0

References

Summary

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