How To Install perl-Crypt-RC4 on Rocky Linux 8

In this tutorial we learn how to install perl-Crypt-RC4 on Rocky Linux 8. perl-Crypt-RC4 is Perl implementation of the RC4 encryption algorithm

Introduction

In this tutorial we learn how to install perl-Crypt-RC4 on Rocky Linux 8.

What is perl-Crypt-RC4

A simple implementation of the RC4 algorithm, developed by RSA Security, Inc. Here is the description from RSA’s website RC4 is a stream cipher designed by Rivest for RSA Data Security (now RSA Security). It is a variable key-size stream cipher with byte-oriented operations. The algorithm is based on the use of a random permutation. Analysis shows that the period of the cipher is overwhelmingly likely to be greater than 10100. Eight to sixteen machine operations are required per output byte, and the cipher can be expected to run very quickly in software. Independent analysts have scrutinized the algorithm and it is considered secure.

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

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

sudo dnf -y install perl-Crypt-RC4

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

sudo yum -y install perl-Crypt-RC4

How To Uninstall perl-Crypt-RC4 on Rocky Linux 8

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

sudo dnf remove perl-Crypt-RC4

perl-Crypt-RC4 Package Contents on Rocky Linux 8

/usr/share/doc/perl-Crypt-RC4
/usr/share/doc/perl-Crypt-RC4/Changes
/usr/share/man/man3/Crypt::RC4.3pm.gz
/usr/share/perl5/vendor_perl/Crypt
/usr/share/perl5/vendor_perl/Crypt/RC4.pm

References

Summary

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