How To Install librsvg2.x86_64 on Amazon Linux 2

In this tutorial we learn how to install librsvg2.x86_64 in Amazon Linux 2. librsvg2.x86_64 is An SVG library based on cairo

Introduction

In this tutorial we learn how to install librsvg2.x86_64 on Amazon Linux 2.

What is librsvg2.x86_64

An SVG library based on cairo.

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

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

sudo yum -y install librsvg2.x86_64

How To Uninstall librsvg2.x86_64 on Amazon Linux 2

To uninstall only the librsvg2.x86_64 package we can use the following command:

sudo yum remove librsvg2.x86_64

librsvg2.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
/usr/lib64/girepository-1.0/Rsvg-2.0.typelib
/usr/lib64/librsvg-2.so.2
/usr/lib64/librsvg-2.so.2.40.20
/usr/share/doc/librsvg2-2.40.20
/usr/share/doc/librsvg2-2.40.20/AUTHORS
/usr/share/doc/librsvg2-2.40.20/NEWS
/usr/share/doc/librsvg2-2.40.20/README
/usr/share/licenses/librsvg2-2.40.20
/usr/share/licenses/librsvg2-2.40.20/COPYING
/usr/share/licenses/librsvg2-2.40.20/COPYING.LIB
/usr/share/thumbnailers
/usr/share/thumbnailers/librsvg.thumbnailer

References

Summary

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