How To Install perl-Image-Size on CentOS 7
Introduction
In this tutorial we learn how to install perl-Image-Size
on CentOS 7.
What is perl-Image-Size
Image wwwimagesize script, a tool that analyzes HTML files and adds HEIGHT and WIDTH tags to IMG directives. Image generalized that code to return a raw (X, Y) 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 PNG, MNG, TIFF, the PPM family of formats (PPM/PGM/PBM) and if Image
We can use yum
or dnf
to install perl-Image-Size
on CentOS 7. 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 CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install perl-Image-Size
using yum
by running the following command:
Install perl-Image-Size on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install perl-Image-Size
using dnf
by running the following command:
How To Uninstall perl-Image-Size on CentOS 7
To uninstall only the perl-Image-Size
package we can use the following command:
References
Summary
In this tutorial we learn how to install perl-Image-Size
on CentOS 7 using yum
and dnf
.