How To Install perl-Math-Round on Rocky Linux 8

In this tutorial we learn how to install perl-Math-Round on Rocky Linux 8. perl-Math-Round is Perl extension for rounding numbers

Introduction

In this tutorial we learn how to install perl-Math-Round on Rocky Linux 8.

What is perl-Math-Round

Math functions round and nearest are exported by default; others are available as described below. “use … qw(

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

Install perl-Math-Round on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Math-Round using dnf by running the following command:

sudo dnf -y install perl-Math-Round

Install perl-Math-Round on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Math-Round using yum by running the following command:

sudo yum -y install perl-Math-Round

How To Uninstall perl-Math-Round on Rocky Linux 8

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

sudo dnf remove perl-Math-Round

perl-Math-Round Package Contents on Rocky Linux 8

/usr/share/doc/perl-Math-Round
/usr/share/doc/perl-Math-Round/Changes
/usr/share/doc/perl-Math-Round/README
/usr/share/man/man3/Math::Round.3pm.gz
/usr/share/perl5/vendor_perl/Math
/usr/share/perl5/vendor_perl/Math/Round.pm
/usr/share/perl5/vendor_perl/auto/Math
/usr/share/perl5/vendor_perl/auto/Math/Round
/usr/share/perl5/vendor_perl/auto/Math/Round/autosplit.ix

References

Summary

In this tutorial we learn how to install perl-Math-Round on Rocky Linux 8 using yum and dnf.