How To Install perl-Const-Fast on CentOS 8
Introduction
In this tutorial we learn how to install perl-Const-Fast on CentOS 8.
What is perl-Const-Fast
This the only function of this module and it is exported by default. It takes a scalar, array or hash left-value as first argument, and a list of one or more values depending on the type of the first argument as the value for the variable. It will set the variable to that value and subsequently make it read-only. Arrays and hashes will be made deeply read-only.
We can use yum or dnf to install perl-Const-Fast on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Const-Fast.
Install perl-Const-Fast 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-Const-Fast using yum by running the following command:
sudo yum -y install perl-Const-Fast
Install perl-Const-Fast 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-Const-Fast using dnf by running the following command:
sudo dnf -y install perl-Const-Fast
How To Uninstall perl-Const-Fast on CentOS 8
To uninstall only the perl-Const-Fast package we can use the following command:
sudo dnf remove perl-Const-Fast
References
Summary
In this tutorial we learn how to install perl-Const-Fast on CentOS 8 using yum and dnf.