How To Install perl-Config-Auto on CentOS 7

In this tutorial we learn how to install perl-Config-Auto on CentOS 7. perl-Config-Auto is Magical config file parser

Introduction

In this tutorial we learn how to install perl-Config-Auto on CentOS 7.

What is perl-Config-Auto

This module was written after having to write Yet Another Config File Parser for some variety of colon-separated config. It searches the filesystem for the program’s configuration file, basing itself on the program’s name and returns a data structure based on the file’s contents.

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

Install perl-Config-Auto 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-Config-Auto using yum by running the following command:

sudo yum -y install perl-Config-Auto

Install perl-Config-Auto 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-Config-Auto using dnf by running the following command:

sudo dnf -y install perl-Config-Auto

How To Uninstall perl-Config-Auto on CentOS 7

To uninstall only the perl-Config-Auto package we can use the following command:

sudo dnf remove perl-Config-Auto

References

Summary

In this tutorial we learn how to install perl-Config-Auto on CentOS 7 using yum and dnf.