How To Install gnutls-utils on CentOS 8

gnutls-utils is Command line tools for TLS protocol

Introduction

In this tutorial we learn how to install gnutls-utils on CentOS 8.

What is gnutls-utils

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. This package contains command line TLS client and server and certificate manipulation tools.

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

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

sudo dnf -y install gnutls-utils

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

sudo yum -y install gnutls-utils

How To Uninstall gnutls-utils on CentOS 8

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

sudo dnf remove gnutls-utils

gnutls-utils Package Contents on CentOS 8

/usr/bin/certtool
/usr/bin/danetool
/usr/bin/gnutls-cli
/usr/bin/gnutls-cli-debug
/usr/bin/gnutls-serv
/usr/bin/ocsptool
/usr/bin/p11tool
/usr/bin/psktool
/usr/bin/srptool
/usr/bin/tpmtool
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/ebf05cb0a94ec0e2d0869eab19872cb1ecf722
/usr/lib/.build-id/40
/usr/lib/.build-id/40/29eb081564707e82057c9b17b092458159edb3
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/86b22b53a42cefca60ce12ed0d5d152542c40e
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/38884f15468b88dacb1839195f961ceb8b0026
/usr/lib/.build-id/64
/usr/lib/.build-id/64/cfffea1f7d08c591447354e0013dd441a244ea
/usr/lib/.build-id/70
/usr/lib/.build-id/70/3582eb2ce897a8456e371342ae720887ee4e19
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/45f9c1154b80563f00a4f486f70201cf246482
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/0d9c0cc27b4ef7217900c86b6ecfd9884b0287
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/d05689b2b10e2d79d80ccbfd3cb891c3029fd0
/usr/lib/.build-id/df
/usr/lib/.build-id/df/6d738a65922411e3f0d4d5a41e55dfef8c64c9
/usr/share/doc/gnutls-utils
/usr/share/doc/gnutls-utils/certtool.cfg
/usr/share/man/man1/certtool.1.gz
/usr/share/man/man1/danetool.1.gz
/usr/share/man/man1/gnutls-cli-debug.1.gz
/usr/share/man/man1/gnutls-cli.1.gz
/usr/share/man/man1/gnutls-serv.1.gz
/usr/share/man/man1/ocsptool.1.gz
/usr/share/man/man1/p11tool.1.gz
/usr/share/man/man1/psktool.1.gz
/usr/share/man/man1/srptool.1.gz
/usr/share/man/man1/tpmtool.1.gz
/usr/bin/certtool
/usr/bin/danetool
/usr/bin/gnutls-cli
/usr/bin/gnutls-cli-debug
/usr/bin/gnutls-serv
/usr/bin/ocsptool
/usr/bin/p11tool
/usr/bin/psktool
/usr/bin/srptool
/usr/bin/tpmtool
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/33b7255f6892bdad714e57ff62d263900c2fbc
/usr/lib/.build-id/08
/usr/lib/.build-id/08/ecf9bfc31ef41641e24fe830109798a67db6a2
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/bd583f4d3b1b05760dc73e4d11a584c3090fc6
/usr/lib/.build-id/36
/usr/lib/.build-id/36/22f5560672e176181514d7c34d14e7536c52d2
/usr/lib/.build-id/38
/usr/lib/.build-id/38/cf8e0b842617fecb6effc16e0317e59288d0c5
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/e29cae7ebe5cf0317195a7ab0d07140958c297
/usr/lib/.build-id/72
/usr/lib/.build-id/72/9f708872aecafdf2a04f8ef5b9b913413750d0
/usr/lib/.build-id/75
/usr/lib/.build-id/75/fcbb68f3fccd15d4a594d4386750b59ed907c3
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/264f26089027be6d7871290a9b9a4c1944ebe4
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/8afbd28bf980bb2c6ec92d8a8c369c67e6d9bd
/usr/share/doc/gnutls-utils
/usr/share/doc/gnutls-utils/certtool.cfg
/usr/share/man/man1/certtool.1.gz
/usr/share/man/man1/danetool.1.gz
/usr/share/man/man1/gnutls-cli-debug.1.gz
/usr/share/man/man1/gnutls-cli.1.gz
/usr/share/man/man1/gnutls-serv.1.gz
/usr/share/man/man1/ocsptool.1.gz
/usr/share/man/man1/p11tool.1.gz
/usr/share/man/man1/psktool.1.gz
/usr/share/man/man1/srptool.1.gz
/usr/share/man/man1/tpmtool.1.gz

References

Summary

In this tutorial we learn how to install gnutls-utils on CentOS 8 using yum and dnf.