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

In this tutorial we learn how to install cairo-tools.x86_64 in Amazon Linux 2. cairo-tools.x86_64 is Development tools for cairo

Introduction

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

What is cairo-tools.x86_64

Cairo is a 2D graphics library designed to provide high-quality display and print output. This package contains tools for working with the cairo graphics library. * cairo-trace

We can use yum to install cairo-tools.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-tools.x86_64.

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

sudo yum -y install cairo-tools.x86_64

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

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

sudo yum remove cairo-tools.x86_64

cairo-tools.x86_64 Package Contents on Amazon Linux 2

/usr/bin/cairo-trace
/usr/lib64/cairo
/usr/lib64/cairo/cairo-fdr.so
/usr/lib64/cairo/cairo-sphinx.so
/usr/lib64/cairo/libcairo-trace.so

References

Summary

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