How To Install cairo.i686 on Amazon Linux 2

In this tutorial we learn how to install cairo.i686 in Amazon Linux 2. cairo.i686 is A 2D graphics library

Introduction

In this tutorial we learn how to install cairo.i686 on Amazon Linux 2.

What is cairo.i686

Cairo is a 2D graphics library designed to provide high-quality display and print output. Currently supported output targets include the X Window System, in-memory image buffers, and image files (PDF, PostScript, and SVG). Cairo is designed to produce consistent output on all output media while taking advantage of display hardware acceleration when available.

We can use yum to install cairo.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install cairo.i686.

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

sudo yum -y install cairo.i686

How To Uninstall cairo.i686 on Amazon Linux 2

To uninstall only the cairo.i686 package we can use the following command:

sudo yum remove cairo.i686

cairo.i686 Package Contents on Amazon Linux 2

/usr/bin/cairo-sphinx
/usr/lib/libcairo-script-interpreter.so.2
/usr/lib/libcairo-script-interpreter.so.2.11512.0
/usr/lib/libcairo.so.2
/usr/lib/libcairo.so.2.11512.0
/usr/share/doc/cairo-1.15.12
/usr/share/doc/cairo-1.15.12/AUTHORS
/usr/share/doc/cairo-1.15.12/BIBLIOGRAPHY
/usr/share/doc/cairo-1.15.12/BUGS
/usr/share/doc/cairo-1.15.12/NEWS
/usr/share/doc/cairo-1.15.12/README
/usr/share/licenses/cairo-1.15.12
/usr/share/licenses/cairo-1.15.12/COPYING
/usr/share/licenses/cairo-1.15.12/COPYING-LGPL-2.1
/usr/share/licenses/cairo-1.15.12/COPYING-MPL-1.1

References

Summary

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