How To Install perl-Net-SSLeay on CentOS 7
Introduction
In this tutorial we learn how to install perl-Net-SSLeay on CentOS 7.
What is perl-Net-SSLeay
This module offers some high level convenience functions for accessing web pages on SSL servers (for symmetry, same API is offered for accessing http servers, too), a sslcat() function for writing your own clients, and finally access to the SSL API of SSLeay/OpenSSL package so you can write servers or clients for more complicated applications.
We can use yum or dnf to install perl-Net-SSLeay on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Net-SSLeay.
Install perl-Net-SSLeay 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-Net-SSLeay using yum by running the following command:
sudo yum -y install perl-Net-SSLeay
Install perl-Net-SSLeay 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-Net-SSLeay using dnf by running the following command:
sudo dnf -y install perl-Net-SSLeay
How To Uninstall perl-Net-SSLeay on CentOS 7
To uninstall only the perl-Net-SSLeay package we can use the following command:
sudo dnf remove perl-Net-SSLeay
References
Summary
In this tutorial we learn how to install perl-Net-SSLeay on CentOS 7 using yum and dnf.