How To Install perl-MooseX-Role-WithOverloading on CentOS 7

In this tutorial we learn how to install perl-MooseX-Role-WithOverloading on CentOS 7. perl-MooseX-Role-WithOverloading is Roles which support overloading

Introduction

In this tutorial we learn how to install perl-MooseX-Role-WithOverloading on CentOS 7.

What is perl-MooseX-Role-WithOverloading

MooseX that defines overloaded operators and allows those operator overloadings to be composed into the classes/roles/instances it’s compiled to, while plain roles would lose the overloading.

We can use yum or dnf to install perl-MooseX-Role-WithOverloading on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-MooseX-Role-WithOverloading.

Install perl-MooseX-Role-WithOverloading on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-MooseX-Role-WithOverloading using yum by running the following command:

sudo yum -y install perl-MooseX-Role-WithOverloading

Install perl-MooseX-Role-WithOverloading 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.

sudo dnf makecache

After updating yum database, We can install perl-MooseX-Role-WithOverloading using dnf by running the following command:

sudo dnf -y install perl-MooseX-Role-WithOverloading

How To Uninstall perl-MooseX-Role-WithOverloading on CentOS 7

To uninstall only the perl-MooseX-Role-WithOverloading package we can use the following command:

sudo dnf remove perl-MooseX-Role-WithOverloading

References

Summary

In this tutorial we learn how to install perl-MooseX-Role-WithOverloading on CentOS 7 using yum and dnf.