How To Install perl-Crypt-RC4 on CentOS 7

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

Introduction

In this tutorial we learn how to install perl-Crypt-RC4 on CentOS 7.

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 CentOS 7. 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 CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install perl-Crypt-RC4

Install perl-Crypt-RC4 on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install perl-Crypt-RC4

How To Uninstall perl-Crypt-RC4 on CentOS 7

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

sudo dnf remove perl-Crypt-RC4

References

Summary

In this tutorial we learn how to install perl-Crypt-RC4 on CentOS 7 using yum and dnf.