How To Install perl-Math-Libm on Fedora 36

In this tutorial we learn how to install perl-Math-Libm in Fedora 36. perl-Math-Libm is Perl extension for the C math library, libm

Introduction

In this tutorial we learn how to install perl-Math-Libm on Fedora 36.

What is perl-Math-Libm

This module is a translation of the C math.h file. It exports the following selected constants and functions M_1_PI M_2_PI M_2_SQRTPI M_E M_LN10 M_LN2 M_LOG10E M_LOG2E M_PI M_PI_2 M_PI_4 M_SQRT1_2 M_SQRT2 acos acosh asin asinh atan atanh cbrt ceil cosh erf erfc expm1 floor hypot j0 j1 jn lgamma_r log10 log1p pow rint sinh tan tanh y0 y1 yn

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

Install perl-Math-Libm on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install perl-Math-Libm

Install perl-Math-Libm on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install perl-Math-Libm

How To Uninstall perl-Math-Libm on Fedora 36

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

sudo dnf remove perl-Math-Libm

perl-Math-Libm Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/40
/usr/lib/.build-id/40/93b397fced02d7ea4d00207094e442e5ae8974
/usr/lib64/perl5/vendor_perl/Math
/usr/lib64/perl5/vendor_perl/Math/Libm.pm
/usr/lib64/perl5/vendor_perl/auto/Math
/usr/lib64/perl5/vendor_perl/auto/Math/Libm
/usr/lib64/perl5/vendor_perl/auto/Math/Libm/Libm.so
/usr/lib64/perl5/vendor_perl/auto/Math/Libm/autosplit.ix
/usr/share/doc/perl-Math-Libm
/usr/share/doc/perl-Math-Libm/Changes
/usr/share/doc/perl-Math-Libm/README
/usr/share/licenses/perl-Math-Libm
/usr/share/licenses/perl-Math-Libm/license.txt
/usr/share/man/man3/Math::Libm.3pm.gz

References

Summary

In this tutorial we learn how to install perl-Math-Libm on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).