How To Install perl-Data-Alias on CentOS 7

In this tutorial we learn how to install perl-Data-Alias on CentOS 7. perl-Data-Alias is Comprehensive set of aliasing operations

Introduction

In this tutorial we learn how to install perl-Data-Alias on CentOS 7.

What is perl-Data-Alias

Aliasing is the phenomenon where two different expressions actually refer to the same thing. Modifying one will modify the other, and if you take a reference to both, the two values are the same.

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

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

sudo yum -y install perl-Data-Alias

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

sudo dnf -y install perl-Data-Alias

How To Uninstall perl-Data-Alias on CentOS 7

To uninstall only the perl-Data-Alias package we can use the following command:

sudo dnf remove perl-Data-Alias

References

Summary

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