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

In this tutorial we learn how to install libgxps-tools.x86_64 in Amazon Linux 2. libgxps-tools.x86_64 is Command-line utility programs for manipulating XPS files

Introduction

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

What is libgxps-tools.x86_64

The libgxps-tools contains command-line programs for manipulating XPS format documents using the libgxps library.

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

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

sudo yum -y install libgxps-tools.x86_64

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

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

sudo yum remove libgxps-tools.x86_64

libgxps-tools.x86_64 Package Contents on Amazon Linux 2

/usr/bin/xpstojpeg
/usr/bin/xpstopdf
/usr/bin/xpstopng
/usr/bin/xpstops
/usr/bin/xpstosvg
/usr/share/man/man1/xpstojpeg.1.gz
/usr/share/man/man1/xpstopdf.1.gz
/usr/share/man/man1/xpstopng.1.gz
/usr/share/man/man1/xpstops.1.gz
/usr/share/man/man1/xpstosvg.1.gz

References

Summary

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