How To Install openssl-perl on Rocky Linux 8

In this tutorial we learn how to install openssl-perl on Rocky Linux 8. openssl-perl is Perl scripts provided with OpenSSL

Introduction

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

What is openssl-perl

OpenSSL is a toolkit for supporting cryptography. The openssl-perl package provides Perl scripts for converting certificates and keys from other formats to the formats used by the OpenSSL toolkit.

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

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

sudo dnf -y install openssl-perl

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

sudo yum -y install openssl-perl

How To Uninstall openssl-perl on Rocky Linux 8

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

sudo dnf remove openssl-perl

openssl-perl Package Contents on Rocky Linux 8

/etc/pki/CA
/etc/pki/CA/certs
/etc/pki/CA/crl
/etc/pki/CA/newcerts
/etc/pki/CA/private
/usr/bin/CA.pl
/usr/bin/c_rehash
/usr/bin/tsget
/usr/bin/tsget.pl
/usr/share/man/man1/CA.pl.1ssl.gz
/usr/share/man/man1/c_rehash.1ssl.gz
/usr/share/man/man1/openssl-tsget.1ssl.gz
/usr/share/man/man1/tsget.1ssl.gz

References

Summary

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