How To Install perl-Math-BaseCnv on CentOS 7

In this tutorial we learn how to install perl-Math-BaseCnv on CentOS 7. perl-Math-BaseCnv is Fast functions to CoNVert between number Bases

Introduction

In this tutorial we learn how to install perl-Math-BaseCnv on CentOS 7.

What is perl-Math-BaseCnv

BaseCnv provides a few simple functions for converting between arbitrary number bases. It is as fast as I currently know how to make it (of course relying only on the lovely Perl). If you would rather utilize an object syntax for number-base conversion, please see Ken Williams’s [email protected] fine Math module.

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

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

sudo yum -y install perl-Math-BaseCnv

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

sudo dnf -y install perl-Math-BaseCnv

How To Uninstall perl-Math-BaseCnv on CentOS 7

To uninstall only the perl-Math-BaseCnv package we can use the following command:

sudo dnf remove perl-Math-BaseCnv

References

Summary

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