How To Install diff-pdf on Rocky Linux 8

In this tutorial we learn how to install diff-pdf on Rocky Linux 8. diff-pdf is A simple tool for visually comparing two PDF files

Introduction

In this tutorial we learn how to install diff-pdf on Rocky Linux 8.

What is diff-pdf

A simple tool for visually comparing two PDF files.

We can use yum or dnf to install diff-pdf on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install diff-pdf.

Install diff-pdf on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install diff-pdf using dnf by running the following command:

sudo dnf -y install diff-pdf

Install diff-pdf on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install diff-pdf using yum by running the following command:

sudo yum -y install diff-pdf

How To Uninstall diff-pdf on Rocky Linux 8

To uninstall only the diff-pdf package we can use the following command:

sudo dnf remove diff-pdf

diff-pdf Package Contents on Rocky Linux 8

/usr/bin/diff-pdf
/usr/lib/.build-id
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/c2e56f769d8f18086695ef63f070e356e20b36
/usr/share/doc/diff-pdf
/usr/share/doc/diff-pdf/AUTHORS
/usr/share/doc/diff-pdf/README.md
/usr/share/licenses/diff-pdf
/usr/share/licenses/diff-pdf/COPYING
/usr/share/licenses/diff-pdf/COPYING.icons

References

Summary

In this tutorial we learn how to install diff-pdf on Rocky Linux 8 using yum and dnf.