How To Install libspectre.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libspectre.x86_64 in Amazon Linux 2. libspectre.x86_64 is A library for rendering PostScript(TM) documents

Introduction

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

What is libspectre.x86_64

libspectre is a small library for rendering PostScript(TM) documents. It provides a convenient easy to use API for handling and rendering PostScript documents.

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

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

sudo yum -y install libspectre.x86_64

How To Uninstall libspectre.x86_64 on Amazon Linux 2

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

sudo yum remove libspectre.x86_64

libspectre.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libspectre.so.1
/usr/lib64/libspectre.so.1.1.8
/usr/share/doc/libspectre-0.2.8
/usr/share/doc/libspectre-0.2.8/AUTHORS
/usr/share/doc/libspectre-0.2.8/COPYING
/usr/share/doc/libspectre-0.2.8/NEWS
/usr/share/doc/libspectre-0.2.8/README
/usr/share/doc/libspectre-0.2.8/TODO

References

Summary

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