How To Install perl-Image-Size on Rocky Linux 8

In this tutorial we learn how to install perl-Image-Size on Rocky Linux 8. perl-Image-Size is Determine the size of images in several common formats in Perl

Introduction

In this tutorial we learn how to install perl-Image-Size on Rocky Linux 8.

What is perl-Image-Size

Image script, a tool that analyzes HTML files and adds HEIGHT and WIDTH tags to IMG directives. Image pair, and included wrappers to pre-format that output into either HTML or a set of attribute pairs suitable for the CGI.pm library by Lincoln Stein. Currently, Image the PPM family of formats (PPM/PGM/PBM) and if Image the formats supported by it.

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

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

sudo dnf -y install perl-Image-Size

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

sudo yum -y install perl-Image-Size

How To Uninstall perl-Image-Size on Rocky Linux 8

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

sudo dnf remove perl-Image-Size

perl-Image-Size Package Contents on Rocky Linux 8

/usr/bin/imgsize
/usr/share/doc/perl-Image-Size
/usr/share/doc/perl-Image-Size/ChangeLog
/usr/share/doc/perl-Image-Size/README
/usr/share/man/man1/imgsize.1.gz
/usr/share/man/man3/Image::Size.3pm.gz
/usr/share/perl5/vendor_perl/Image
/usr/share/perl5/vendor_perl/Image/Size.pm
/usr/share/perl5/vendor_perl/Image/Size.pm.endianfix

References

Summary

In this tutorial we learn how to install perl-Image-Size on Rocky Linux 8 using yum and dnf.