How To Install rubygem-pdf-inspector on Fedora 36

In this tutorial we learn how to install rubygem-pdf-inspector in Fedora 36. rubygem-pdf-inspector is A tool for analyzing PDF output

Introduction

In this tutorial we learn how to install rubygem-pdf-inspector on Fedora 36.

What is rubygem-pdf-inspector

This library provides a number of PDF testing PDF output. Presently, the primary purpose of this tool is to support the tests found in Prawn[1], a pure Ruby PDF generation library. However, it may be useful to others, so we have made it available as a gem in its own right. [0] https [1] https

We can use yum or dnf to install rubygem-pdf-inspector on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-pdf-inspector.

Install rubygem-pdf-inspector on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install rubygem-pdf-inspector

Install rubygem-pdf-inspector on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install rubygem-pdf-inspector

How To Uninstall rubygem-pdf-inspector on Fedora 36

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

sudo dnf remove rubygem-pdf-inspector

rubygem-pdf-inspector Package Contents on Fedora 36

/usr/share/gems/gems/pdf-inspector-1.3.0
/usr/share/gems/gems/pdf-inspector-1.3.0/COPYING
/usr/share/gems/gems/pdf-inspector-1.3.0/GPLv2
/usr/share/gems/gems/pdf-inspector-1.3.0/GPLv3
/usr/share/gems/gems/pdf-inspector-1.3.0/LICENSE
/usr/share/gems/gems/pdf-inspector-1.3.0/lib
/usr/share/gems/gems/pdf-inspector-1.3.0/lib/pdf
/usr/share/gems/gems/pdf-inspector-1.3.0/lib/pdf/inspector
/usr/share/gems/gems/pdf-inspector-1.3.0/lib/pdf/inspector.rb
/usr/share/gems/gems/pdf-inspector-1.3.0/lib/pdf/inspector/extgstate.rb
/usr/share/gems/gems/pdf-inspector-1.3.0/lib/pdf/inspector/graphics.rb
/usr/share/gems/gems/pdf-inspector-1.3.0/lib/pdf/inspector/page.rb
/usr/share/gems/gems/pdf-inspector-1.3.0/lib/pdf/inspector/text.rb
/usr/share/gems/gems/pdf-inspector-1.3.0/lib/pdf/inspector/xobject.rb
/usr/share/gems/specifications/pdf-inspector-1.3.0.gemspec

References

Summary

In this tutorial we learn how to install rubygem-pdf-inspector on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).