How To Install gnutls on CentOS 8

gnutls is A TLS protocol implementation A TLS protocol implementation A TLS protocol implementation

Introduction

In this tutorial we learn how to install gnutls on CentOS 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. gnutls 3.6.14 8.el8_3 i686 1.0 M gnutls-3.6.14-8.el8_3.src.rpm baseos A TLS protocol implementation http GPLv3+ and LGPLv2+ 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. gnutls 3.6.14 8.el8_3 x86_64 1.0 M gnutls-3.6.14-8.el8_3.src.rpm baseos A TLS protocol implementation http GPLv3+ and LGPLv2+ 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install gnutls.

Install gnutls on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install gnutls

Install gnutls on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove gnutls

gnutls Package Contents on CentOS 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/8e
/usr/lib/.build-id/8e/ba85c8016ab3ac9d247366b322812774a7ebc3
/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/af
/usr/lib/.build-id/af/eddaabfbb698412f7724a28a4195b3d72caf53
/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
/usr/lib/.build-id
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/75ce41d02955e07e145026d71b327e9dcfc99d
/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 CentOS 8 using yum and dnf.