How To Install perl-Math-Prime-XS on Fedora 36

In this tutorial we learn how to install perl-Math-Prime-XS in Fedora 36. perl-Math-Prime-XS is Detect and calculate prime numbers with deterministic tests

Introduction

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

What is perl-Math-Prime-XS

Math Modulo operator division, the Sieve of Eratosthenes, a Summation calculation or Trial division.

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

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

sudo dnf -y install perl-Math-Prime-XS

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

sudo yum -y install perl-Math-Prime-XS

How To Uninstall perl-Math-Prime-XS on Fedora 36

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

sudo dnf remove perl-Math-Prime-XS

perl-Math-Prime-XS Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/52fba3f3f29901d44bacbc3a3c9f67429b736a
/usr/lib64/perl5/vendor_perl/Math
/usr/lib64/perl5/vendor_perl/Math/Prime
/usr/lib64/perl5/vendor_perl/Math/Prime/XS.pm
/usr/lib64/perl5/vendor_perl/auto/Math
/usr/lib64/perl5/vendor_perl/auto/Math/Prime
/usr/lib64/perl5/vendor_perl/auto/Math/Prime/XS
/usr/lib64/perl5/vendor_perl/auto/Math/Prime/XS/XS.so
/usr/share/doc/perl-Math-Prime-XS
/usr/share/doc/perl-Math-Prime-XS/Changes
/usr/share/doc/perl-Math-Prime-XS/META.json
/usr/share/doc/perl-Math-Prime-XS/README
/usr/share/doc/perl-Math-Prime-XS/devel
/usr/share/doc/perl-Math-Prime-XS/devel/boolean-speed.pl
/usr/share/doc/perl-Math-Prime-XS/devel/cmpthese.pl
/usr/share/doc/perl-Math-Prime-XS/devel/isprime-speed.pl
/usr/share/man/man3/Math::Prime::XS.3pm.gz

References

Summary

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