How To Install perl-MooseX-SimpleConfig on CentOS 8

In this tutorial we learn how to install perl-MooseX-SimpleConfig on CentOS 8. perl-MooseX-SimpleConfig is Moose role for setting attributes from a simple configfile

Introduction

In this tutorial we learn how to install perl-MooseX-SimpleConfig on CentOS 8.

What is perl-MooseX-SimpleConfig

This role loads simple configfiles to set object attributes. It is based on the abstract role MooseX configfile. Config configuration formats, detected by the file extension. See Config more details about supported formats.

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

Install perl-MooseX-SimpleConfig on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install perl-MooseX-SimpleConfig

Install perl-MooseX-SimpleConfig on CentOS 8 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-SimpleConfig using dnf by running the following command:

sudo dnf -y install perl-MooseX-SimpleConfig

How To Uninstall perl-MooseX-SimpleConfig on CentOS 8

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

sudo dnf remove perl-MooseX-SimpleConfig

References

Summary

In this tutorial we learn how to install perl-MooseX-SimpleConfig on CentOS 8 using yum and dnf.