How To Install perl-Cairo-GObject on Rocky Linux 8

In this tutorial we learn how to install perl-Cairo-GObject on Rocky Linux 8. perl-Cairo-GObject is Integrate Cairo into the Glib type system

Introduction

In this tutorial we learn how to install perl-Cairo-GObject on Rocky Linux 8.

What is perl-Cairo-GObject

Cairo and Glib are now loaded and the Cairo types are registed with Glib’s type machinery. This allows you to correctly use Cairo types in signals and properties.

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

Install perl-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 perl-Cairo-GObject using dnf by running the following command:

sudo dnf -y install perl-Cairo-GObject

Install perl-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 perl-Cairo-GObject using yum by running the following command:

sudo yum -y install perl-Cairo-GObject

How To Uninstall perl-Cairo-GObject on Rocky Linux 8

To uninstall only the perl-Cairo-GObject package we can use the following command:

sudo dnf remove perl-Cairo-GObject

perl-Cairo-GObject Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/4361fa4e905034c6c1100b70346a7d6d8e88cd
/usr/lib64/perl5/vendor_perl/Cairo
/usr/lib64/perl5/vendor_perl/Cairo/GObject
/usr/lib64/perl5/vendor_perl/Cairo/GObject.pm
/usr/lib64/perl5/vendor_perl/Cairo/GObject/Install
/usr/lib64/perl5/vendor_perl/Cairo/GObject/Install/Files.pm
/usr/lib64/perl5/vendor_perl/auto/Cairo
/usr/lib64/perl5/vendor_perl/auto/Cairo/GObject
/usr/lib64/perl5/vendor_perl/auto/Cairo/GObject/GObject.so
/usr/share/doc/perl-Cairo-GObject
/usr/share/doc/perl-Cairo-GObject/NEWS
/usr/share/doc/perl-Cairo-GObject/README
/usr/share/licenses/perl-Cairo-GObject
/usr/share/licenses/perl-Cairo-GObject/LICENSE
/usr/share/man/man3/Cairo::GObject.3pm.gz

References

Summary

In this tutorial we learn how to install perl-Cairo-GObject on Rocky Linux 8 using yum and dnf.