How To Install openssl-libs on Rocky Linux 8

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

Introduction

In this tutorial we learn how to install openssl-libs on Rocky Linux 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 Rocky Linux 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 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-libs using dnf by running the following command:

sudo dnf -y install openssl-libs

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

sudo yum -y install openssl-libs

How To Uninstall openssl-libs on Rocky Linux 8

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

sudo dnf remove openssl-libs

openssl-libs Package Contents on Rocky Linux 8

/etc/pki/tls
/etc/pki/tls/certs
/etc/pki/tls/ct_log_list.cnf
/etc/pki/tls/misc
/etc/pki/tls/openssl.cnf
/etc/pki/tls/private
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/3f056819beec56baafc4e102c97c8ef9f0a3c9
/usr/lib/.build-id/13
/usr/lib/.build-id/13/ce916b28f6c29d22a244bd09731722264f6be7
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/d0ac8a9333f6fd6c985863b01563fceff6bb7a
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/683ea72cbf6728429b5d7694da6cbe8247fe1e
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/4a3048d761e966da072ed7792f4d219e308467
/usr/lib64/.libcrypto.so.1.1.1g.hmac
/usr/lib64/.libcrypto.so.1.1.hmac
/usr/lib64/.libssl.so.1.1.1g.hmac
/usr/lib64/.libssl.so.1.1.hmac
/usr/lib64/engines-1.1
/usr/lib64/engines-1.1/afalg.so
/usr/lib64/engines-1.1/capi.so
/usr/lib64/engines-1.1/padlock.so
/usr/lib64/libcrypto.so.1.1
/usr/lib64/libcrypto.so.1.1.1g
/usr/lib64/libssl.so.1.1
/usr/lib64/libssl.so.1.1.1g
/usr/share/licenses/openssl-libs
/usr/share/licenses/openssl-libs/LICENSE
/etc/pki/tls
/etc/pki/tls/certs
/etc/pki/tls/ct_log_list.cnf
/etc/pki/tls/misc
/etc/pki/tls/openssl.cnf
/etc/pki/tls/private
/usr/lib/.build-id
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/e88ae3e1823a3d5875bc71b8fa66e08b789698
/usr/lib/.build-id/20
/usr/lib/.build-id/20/223b9ad183791aaeeb5a3d901e8f5b246890e6
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/540073575fefd2f87bfca7cb6fa96043f9dca6
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/d3188670ab26057f698f06706b31dda89a03cb
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/56285fb20bf6d49af9f0898580a76792a29882
/usr/lib/.libcrypto.so.1.1.1g.hmac
/usr/lib/.libcrypto.so.1.1.hmac
/usr/lib/.libssl.so.1.1.1g.hmac
/usr/lib/.libssl.so.1.1.hmac
/usr/lib/engines-1.1
/usr/lib/engines-1.1/afalg.so
/usr/lib/engines-1.1/capi.so
/usr/lib/engines-1.1/padlock.so
/usr/lib/libcrypto.so.1.1
/usr/lib/libcrypto.so.1.1.1g
/usr/lib/libssl.so.1.1
/usr/lib/libssl.so.1.1.1g
/usr/share/licenses/openssl-libs
/usr/share/licenses/openssl-libs/LICENSE

References

Summary

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