How To Install cairo-gobject.x86_64 on Amazon Linux 2

In this tutorial we learn how to install cairo-gobject.x86_64 in Amazon Linux 2. cairo-gobject.x86_64 is GObject bindings for cairo

Introduction

In this tutorial we learn how to install cairo-gobject.x86_64 on Amazon Linux 2.

What is cairo-gobject.x86_64

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 to install cairo-gobject.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install cairo-gobject.x86_64.

Install cairo-gobject.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install cairo-gobject.x86_64

How To Uninstall cairo-gobject.x86_64 on Amazon Linux 2

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

sudo yum remove cairo-gobject.x86_64

cairo-gobject.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libcairo-gobject.so.2
/usr/lib64/libcairo-gobject.so.2.11512.0

References

Summary

In this tutorial we learn how to install cairo-gobject.x86_64 on Amazon Linux 2 using yum.