How To Install perl-Math-Calc-Units on CentOS 7
Introduction
In this tutorial we learn how to install perl-Math-Calc-Units on CentOS 7.
What is perl-Math-Calc-Units
Math units. It currently handles combinations of byte sizes and duration only, although adding any other multiplicative types is easy. Any unknown type is treated as a unique user type (with some effort to map English plurals to their singular forms).
We can use yum or dnf to install perl-Math-Calc-Units on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Math-Calc-Units.
Install perl-Math-Calc-Units 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-Math-Calc-Units using yum by running the following command:
sudo yum -y install perl-Math-Calc-Units
Install perl-Math-Calc-Units 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-Math-Calc-Units using dnf by running the following command:
sudo dnf -y install perl-Math-Calc-Units
How To Uninstall perl-Math-Calc-Units on CentOS 7
To uninstall only the perl-Math-Calc-Units package we can use the following command:
sudo dnf remove perl-Math-Calc-Units
References
Summary
In this tutorial we learn how to install perl-Math-Calc-Units on CentOS 7 using yum and dnf.