How To Install perl-GD on Fedora 36

In this tutorial we learn how to install perl-GD in Fedora 36. perl-GD is Perl interface to the GD graphics library

Introduction

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

What is perl-GD

This is a auto-loadable interface module for GD, a popular library for creating and manipulating PNG files. With this library you can create PNG images on the fly or modify existing files.

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

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

sudo dnf -y install perl-GD

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

sudo yum -y install perl-GD

How To Uninstall perl-GD on Fedora 36

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

sudo dnf remove perl-GD

perl-GD Package Contents on Fedora 36

/usr/bin/bdf2gdfont.pl
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/3d67469e2ef0ada5c0a32aaa23dc120bf8d605
/usr/lib64/perl5/vendor_perl/GD
/usr/lib64/perl5/vendor_perl/GD.pm
/usr/lib64/perl5/vendor_perl/GD/Group.pm
/usr/lib64/perl5/vendor_perl/GD/Image.pm
/usr/lib64/perl5/vendor_perl/GD/Polygon.pm
/usr/lib64/perl5/vendor_perl/GD/Polyline.pm
/usr/lib64/perl5/vendor_perl/GD/Simple.pm
/usr/lib64/perl5/vendor_perl/auto/GD
/usr/lib64/perl5/vendor_perl/auto/GD/GD.so
/usr/lib64/perl5/vendor_perl/auto/GD/autosplit.ix
/usr/share/doc/perl-GD
/usr/share/doc/perl-GD/ChangeLog
/usr/share/doc/perl-GD/README
/usr/share/doc/perl-GD/README.QUICKDRAW
/usr/share/doc/perl-GD/demos
/usr/share/doc/perl-GD/demos/brushes.pl
/usr/share/doc/perl-GD/demos/copies.pl
/usr/share/doc/perl-GD/demos/draw_colors.pl
/usr/share/doc/perl-GD/demos/fills.pl
/usr/share/doc/perl-GD/demos/font_list.png
/usr/share/doc/perl-GD/demos/fonttest
/usr/share/doc/perl-GD/demos/gd_example.cgi
/usr/share/doc/perl-GD/demos/polyline.pl
/usr/share/doc/perl-GD/demos/polys.pl
/usr/share/doc/perl-GD/demos/shapes.pl
/usr/share/doc/perl-GD/demos/tile.png
/usr/share/doc/perl-GD/demos/transform.pl
/usr/share/doc/perl-GD/demos/truetype_test
/usr/share/doc/perl-GD/demos/ttf.pl
/usr/share/licenses/perl-GD
/usr/share/licenses/perl-GD/LICENSE
/usr/share/man/man1/bdf2gdfont.pl.1.gz
/usr/share/man/man3/GD.3pm.gz
/usr/share/man/man3/GD::Group.3pm.gz
/usr/share/man/man3/GD::Image.3pm.gz
/usr/share/man/man3/GD::Polygon.3pm.gz
/usr/share/man/man3/GD::Polyline.3pm.gz
/usr/share/man/man3/GD::Simple.3pm.gz

References

Summary

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