How To Install perl-GD.x86_64 on Amazon Linux 2

In this tutorial we learn how to install perl-GD.x86_64 in Amazon Linux 2. perl-GD.x86_64 is Perl interface to the GD graphics library

Introduction

In this tutorial we learn how to install perl-GD.x86_64 on Amazon Linux 2.

What is perl-GD.x86_64

This is a autoloadable 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 to install perl-GD.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-GD.x86_64.

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

sudo yum -y install perl-GD.x86_64

How To Uninstall perl-GD.x86_64 on Amazon Linux 2

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

sudo yum remove perl-GD.x86_64

perl-GD.x86_64 Package Contents on Amazon Linux 2

/usr/bin/bdf2gdfont.pl
/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/lib64/perl5/vendor_perl/qd.pl
/usr/share/doc/perl-GD-2.49
/usr/share/doc/perl-GD-2.49/ChangeLog
/usr/share/doc/perl-GD-2.49/README
/usr/share/doc/perl-GD-2.49/README.QUICKDRAW
/usr/share/doc/perl-GD-2.49/demos
/usr/share/doc/perl-GD-2.49/demos/brushes.pl
/usr/share/doc/perl-GD-2.49/demos/copies.pl
/usr/share/doc/perl-GD-2.49/demos/fills.pl
/usr/share/doc/perl-GD-2.49/demos/font_list.png
/usr/share/doc/perl-GD-2.49/demos/fonttest
/usr/share/doc/perl-GD-2.49/demos/gd_example.cgi
/usr/share/doc/perl-GD-2.49/demos/polyline.pl
/usr/share/doc/perl-GD-2.49/demos/polys.pl
/usr/share/doc/perl-GD-2.49/demos/shapes.pl
/usr/share/doc/perl-GD-2.49/demos/tile.png
/usr/share/doc/perl-GD-2.49/demos/transform.pl
/usr/share/doc/perl-GD-2.49/demos/truetype_test
/usr/share/doc/perl-GD-2.49/demos/ttf.pl
/usr/share/man/man1/bdf2gdfont.pl.1.gz
/usr/share/man/man3/GD.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.x86_64 on Amazon Linux 2 using yum.