How To Install perl-Crypt-Primes on Fedora 36

In this tutorial we learn how to install perl-Crypt-Primes in Fedora 36. perl-Crypt-Primes is Provable prime number generator for cryptographic applications

Introduction

In this tutorial we learn how to install perl-Crypt-Primes on Fedora 36.

What is perl-Crypt-Primes

This module implements Ueli Maurer’s algorithm for generating large provable primes and secure parameters for public-key cryptosystems. The generated primes are almost uniformly distributed over the set of primes of the specified bitsize and expected time for generation is less than the time required for generating a pseudo-prime of the same size with Miller-Rabin tests. Detailed description and running time analysis of the algorithm can be found in Maurer’s paper, “Fast Generation of Prime Numbers and Secure Public-Key Cryptographic Parameters” (1994).

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

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

sudo dnf -y install perl-Crypt-Primes

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

sudo yum -y install perl-Crypt-Primes

How To Uninstall perl-Crypt-Primes on Fedora 36

To uninstall only the perl-Crypt-Primes package we can use the following command:

sudo dnf remove perl-Crypt-Primes

perl-Crypt-Primes Package Contents on Fedora 36

/usr/bin/largeprimes
/usr/share/doc/perl-Crypt-Primes
/usr/share/doc/perl-Crypt-Primes/1-Fast_Generation_Of_Primes-Ueli_Maurer.ps
/usr/share/doc/perl-Crypt-Primes/4-8192-bit-random-prime
/usr/share/doc/perl-Crypt-Primes/Changes
/usr/share/doc/perl-Crypt-Primes/README
/usr/share/man/man1/largeprimes.1.gz
/usr/share/man/man3/Crypt::Primes.3pm.gz
/usr/share/perl5/vendor_perl/Crypt
/usr/share/perl5/vendor_perl/Crypt/Primes.pm

References

Summary

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