How To Install perl-Image-Math-Constrain on Fedora 36

In this tutorial we learn how to install perl-Image-Math-Constrain in Fedora 36. perl-Image-Math-Constrain is Scaling math used in image size constraining (such as thumbnails)

Introduction

In this tutorial we learn how to install perl-Image-Math-Constrain on Fedora 36.

What is perl-Image-Math-Constrain

There are a number of different modules and systems that constrain image sizes, such as thumbnailing. Every one of these independantly implement the same logic. That is, given a width and/or height constraint, they check to see if the image is bigger than the constraint, and if so scale the image down proportionally so that it fits within the constraints.

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

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

sudo dnf -y install perl-Image-Math-Constrain

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

sudo yum -y install perl-Image-Math-Constrain

How To Uninstall perl-Image-Math-Constrain on Fedora 36

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

sudo dnf remove perl-Image-Math-Constrain

perl-Image-Math-Constrain Package Contents on Fedora 36

/usr/share/doc/perl-Image-Math-Constrain
/usr/share/doc/perl-Image-Math-Constrain/Changes
/usr/share/doc/perl-Image-Math-Constrain/README
/usr/share/licenses/perl-Image-Math-Constrain
/usr/share/licenses/perl-Image-Math-Constrain/LICENSE
/usr/share/man/man3/Image::Math::Constrain.3pm.gz
/usr/share/perl5/vendor_perl/Image
/usr/share/perl5/vendor_perl/Image/Math
/usr/share/perl5/vendor_perl/Image/Math/Constrain.pm

References

Summary

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