How To Install qpdf.x86_64 on Amazon Linux 2

In this tutorial we learn how to install qpdf.x86_64 in Amazon Linux 2. qpdf.x86_64 is Command-line tools and library for transforming PDF files

Introduction

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

What is qpdf.x86_64

QPDF is a command-line program that does structural, content-preserving transformations on PDF files. It could have been called something like pdf-to-pdf. It includes support for merging and splitting PDFs and to manipulate the list of pages in a PDF file. It is not a PDF viewer or a program capable of converting PDF into other formats.

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

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

sudo yum -y install qpdf.x86_64

How To Uninstall qpdf.x86_64 on Amazon Linux 2

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

sudo yum remove qpdf.x86_64

qpdf.x86_64 Package Contents on Amazon Linux 2

/usr/bin/fix-qdf
/usr/bin/qpdf
/usr/bin/zlib-flate
/usr/share/man/man1/fix-qdf.1.gz
/usr/share/man/man1/qpdf.1.gz
/usr/share/man/man1/zlib-flate.1.gz

References

Summary

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