How To Install perl-Image-Xpm.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-Image-Xpm.noarch in Amazon Linux 2. perl-Image-Xpm.noarch is Load, create, manipulate and save xpm image files in Perl

Introduction

In this tutorial we learn how to install perl-Image-Xpm.noarch on Amazon Linux 2.

What is perl-Image-Xpm.noarch

This class module provides basic load, manipulate and save functionality for the xpm file format. It inherits from Image

We can use yum to install perl-Image-Xpm.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Image-Xpm.noarch.

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

sudo yum -y install perl-Image-Xpm.noarch

How To Uninstall perl-Image-Xpm.noarch on Amazon Linux 2

To uninstall only the perl-Image-Xpm.noarch package we can use the following command:

sudo yum remove perl-Image-Xpm.noarch

perl-Image-Xpm.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-Image-Xpm-1.09
/usr/share/doc/perl-Image-Xpm-1.09/README
/usr/share/man/man3/Image::Xpm.3pm.gz
/usr/share/perl5/vendor_perl/Image
/usr/share/perl5/vendor_perl/Image/Xpm.pm

References

Summary

In this tutorial we learn how to install perl-Image-Xpm.noarch on Amazon Linux 2 using yum.