How To Install perl-Class-Data-Inheritable.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-Class-Data-Inheritable.noarch in Amazon Linux 2. perl-Class-Data-Inheritable.noarch is Inheritable, overridable class data

Introduction

In this tutorial we learn how to install perl-Class-Data-Inheritable.noarch on Amazon Linux 2.

What is perl-Class-Data-Inheritable.noarch

Class class data. That is, if you want to store something about your class as a whole (instead of about a single object). This data is then inherited by your sub-classes and can be overridden.

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

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

sudo yum -y install perl-Class-Data-Inheritable.noarch

How To Uninstall perl-Class-Data-Inheritable.noarch on Amazon Linux 2

To uninstall only the perl-Class-Data-Inheritable.noarch package we can use the following command:

sudo yum remove perl-Class-Data-Inheritable.noarch

perl-Class-Data-Inheritable.noarch Package Contents on Amazon Linux 2

/usr/share/man/man3/Class::Data::Inheritable.3pm.gz
/usr/share/perl5/vendor_perl/Class
/usr/share/perl5/vendor_perl/Class/Data
/usr/share/perl5/vendor_perl/Class/Data/Inheritable.pm

References

Summary

In this tutorial we learn how to install perl-Class-Data-Inheritable.noarch on Amazon Linux 2 using yum.