How To Install gnutls on Rocky Linux 8

In this tutorial we learn how to install gnutls on Rocky Linux 8. gnutls is A TLS protocol implementation

Introduction

In this tutorial we learn how to install gnutls on Rocky Linux 8.

What is gnutls

GnuTLS is a secure communications library implementing the SSL, TLS and DTLS protocols and technologies around them. It provides a simple C language application programming interface (API) to access the secure communications protocols as well as APIs to parse and write X.509, PKCS #12, OpenPGP and other required structures.

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

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

sudo dnf -y install gnutls

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

sudo yum -y install gnutls

How To Uninstall gnutls on Rocky Linux 8

To uninstall only the gnutls package we can use the following command:

sudo dnf remove gnutls

gnutls Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/bb3091e934c21ab8b5d3faa037ae437817de22
/usr/lib64/.libgnutls.so.30.28.0.hmac
/usr/lib64/.libgnutls.so.30.hmac
/usr/lib64/libgnutls.so.30
/usr/lib64/libgnutls.so.30.28.0
/usr/share/doc/gnutls
/usr/share/doc/gnutls/AUTHORS
/usr/share/doc/gnutls/NEWS
/usr/share/doc/gnutls/README.md
/usr/share/doc/gnutls/THANKS
/usr/share/licenses/gnutls
/usr/share/licenses/gnutls/COPYING
/usr/share/licenses/gnutls/COPYING.LESSER
/usr/share/licenses/gnutls/LICENSE
/usr/share/locale/cs/LC_MESSAGES/gnutls.mo
/usr/share/locale/de/LC_MESSAGES/gnutls.mo
/usr/share/locale/eo/LC_MESSAGES/gnutls.mo
/usr/share/locale/es/LC_MESSAGES/gnutls.mo
/usr/share/locale/fi/LC_MESSAGES/gnutls.mo
/usr/share/locale/fr/LC_MESSAGES/gnutls.mo
/usr/share/locale/it/LC_MESSAGES/gnutls.mo
/usr/share/locale/ms/LC_MESSAGES/gnutls.mo
/usr/share/locale/nl/LC_MESSAGES/gnutls.mo
/usr/share/locale/pl/LC_MESSAGES/gnutls.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gnutls.mo
/usr/share/locale/sr/LC_MESSAGES/gnutls.mo
/usr/share/locale/sv/LC_MESSAGES/gnutls.mo
/usr/share/locale/uk/LC_MESSAGES/gnutls.mo
/usr/share/locale/vi/LC_MESSAGES/gnutls.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gnutls.mo
/usr/lib/.build-id
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/98f6bf4bd0ff49b0e2cb895f6f3e6fe48c23af
/usr/lib/.libgnutls.so.30.28.0.hmac
/usr/lib/.libgnutls.so.30.hmac
/usr/lib/libgnutls.so.30
/usr/lib/libgnutls.so.30.28.0
/usr/share/doc/gnutls
/usr/share/doc/gnutls/AUTHORS
/usr/share/doc/gnutls/NEWS
/usr/share/doc/gnutls/README.md
/usr/share/doc/gnutls/THANKS
/usr/share/licenses/gnutls
/usr/share/licenses/gnutls/COPYING
/usr/share/licenses/gnutls/COPYING.LESSER
/usr/share/licenses/gnutls/LICENSE
/usr/share/locale/cs/LC_MESSAGES/gnutls.mo
/usr/share/locale/de/LC_MESSAGES/gnutls.mo
/usr/share/locale/eo/LC_MESSAGES/gnutls.mo
/usr/share/locale/es/LC_MESSAGES/gnutls.mo
/usr/share/locale/fi/LC_MESSAGES/gnutls.mo
/usr/share/locale/fr/LC_MESSAGES/gnutls.mo
/usr/share/locale/it/LC_MESSAGES/gnutls.mo
/usr/share/locale/ms/LC_MESSAGES/gnutls.mo
/usr/share/locale/nl/LC_MESSAGES/gnutls.mo
/usr/share/locale/pl/LC_MESSAGES/gnutls.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gnutls.mo
/usr/share/locale/sr/LC_MESSAGES/gnutls.mo
/usr/share/locale/sv/LC_MESSAGES/gnutls.mo
/usr/share/locale/uk/LC_MESSAGES/gnutls.mo
/usr/share/locale/vi/LC_MESSAGES/gnutls.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gnutls.mo

References

Summary

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