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

In this tutorial we learn how to install perl-Crypt-CBC on Rocky Linux 8. perl-Crypt-CBC is Encrypt Data with Cipher Block Chaining Mode

Introduction

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

What is perl-Crypt-CBC

This is Crypt cipher block chaining mode (CBC). In combination with a block cipher such as Crypt messages of arbitrarily long length. The encrypted messages are compatible with the encryption format used by SSLeay.

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

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

sudo dnf -y install perl-Crypt-CBC

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

sudo yum -y install perl-Crypt-CBC

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

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

sudo dnf remove perl-Crypt-CBC

perl-Crypt-CBC Package Contents on Rocky Linux 8

/usr/share/doc/perl-Crypt-CBC
/usr/share/doc/perl-Crypt-CBC/Changes
/usr/share/doc/perl-Crypt-CBC/README
/usr/share/doc/perl-Crypt-CBC/eg
/usr/share/doc/perl-Crypt-CBC/eg/aes.pl
/usr/share/doc/perl-Crypt-CBC/eg/des.pl
/usr/share/doc/perl-Crypt-CBC/eg/idea.pl
/usr/share/man/man3/Crypt::CBC.3pm.gz
/usr/share/perl5/vendor_perl/Crypt
/usr/share/perl5/vendor_perl/Crypt/CBC.pm

References

Summary

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