How To Install openssl-libs on AlmaLinux 8

In this tutorial we learn how to install openssl-libs in AlmaLinux 8. openssl-libs is A general purpose cryptography library with TLS implementation

Introduction

In this tutorial we learn how to install openssl-libs on AlmaLinux 8.

What is openssl-libs

OpenSSL is a toolkit for supporting cryptography. The openssl-libs package contains the libraries that are used by various applications which support cryptographic algorithms and protocols.

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

Install openssl-libs on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install openssl-libs using dnf by running the following command:

sudo dnf -y install openssl-libs

Install openssl-libs on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install openssl-libs using yum by running the following command:

sudo yum -y install openssl-libs

How To Uninstall openssl-libs on AlmaLinux 8

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

sudo dnf remove openssl-libs

References

Summary

In this tutorial we learn how to install openssl-libs on AlmaLinux 8 using yum and dnf.