How To Install perl-PDF-Haru on Fedora 36

In this tutorial we learn how to install perl-PDF-Haru in Fedora 36. perl-PDF-Haru is Perl interface to Haru Free PDF Library

Introduction

In this tutorial we learn how to install perl-PDF-Haru on Fedora 36.

What is perl-PDF-Haru

Perl interface to Haru Free PDF Library. It supports the following features 1. Generating PDF files with lines, text, images. 2. Outline, text annotation, link annotation. 3. Compressing document with deflate-decode. 4. Embedding PNG, Jpeg images. 5. Embedding Type1 font and TrueType font. 6. Creating encrypted PDF files. 7. Using various character sets (ISO8859-1~16, MSCP1250~8, KOI8-R). 8. Supporting CJK fonts and encodings.

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

Install perl-PDF-Haru 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 perl-PDF-Haru using dnf by running the following command:

sudo dnf -y install perl-PDF-Haru

Install perl-PDF-Haru 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 perl-PDF-Haru using yum by running the following command:

sudo yum -y install perl-PDF-Haru

How To Uninstall perl-PDF-Haru on Fedora 36

To uninstall only the perl-PDF-Haru package we can use the following command:

sudo dnf remove perl-PDF-Haru

perl-PDF-Haru Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/1732aea3b9618b884085e3f97ce4dd391d49ca
/usr/lib64/perl5/vendor_perl/PDF
/usr/lib64/perl5/vendor_perl/PDF/Haru.pm
/usr/lib64/perl5/vendor_perl/auto/PDF
/usr/lib64/perl5/vendor_perl/auto/PDF/Haru
/usr/lib64/perl5/vendor_perl/auto/PDF/Haru/Haru.so
/usr/lib64/perl5/vendor_perl/auto/PDF/Haru/autosplit.ix
/usr/share/doc/perl-PDF-Haru
/usr/share/doc/perl-PDF-Haru/Changes
/usr/share/doc/perl-PDF-Haru/README
/usr/share/doc/perl-PDF-Haru/examples
/usr/share/doc/perl-PDF-Haru/examples/images
/usr/share/doc/perl-PDF-Haru/examples/images/gray.jpg
/usr/share/doc/perl-PDF-Haru/examples/images/rgb.jpg
/usr/share/doc/perl-PDF-Haru/examples/jpeg_demo.pdf
/usr/share/doc/perl-PDF-Haru/examples/jpeg_demo.pl
/usr/share/doc/perl-PDF-Haru/examples/line_demo.pdf
/usr/share/doc/perl-PDF-Haru/examples/line_demo.pl
/usr/share/doc/perl-PDF-Haru/examples/text_demo.pdf
/usr/share/doc/perl-PDF-Haru/examples/text_demo.pl
/usr/share/doc/perl-PDF-Haru/examples/text_demo2.pdf
/usr/share/doc/perl-PDF-Haru/examples/text_demo2.pl
/usr/share/man/man3/PDF::Haru.3pm.gz

References

Summary

In this tutorial we learn how to install perl-PDF-Haru on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).