How To Install gnutls-dane on CentOS 8

gnutls-dane is A DANE protocol implementation for GnuTLS A DANE protocol implementation for GnuTLS

Introduction

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

What is gnutls-dane

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 library that implements the DANE protocol for verifying TLS certificates through DNSSEC. gnutls-dane 3.6.14 8.el8_3 x86_64 51 k gnutls-3.6.14-8.el8_3.src.rpm appstream A DANE protocol implementation for GnuTLS 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. This package contains library that implements the DANE protocol for verifying TLS certificates through DNSSEC.

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

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

sudo dnf -y install gnutls-dane

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

sudo yum -y install gnutls-dane

How To Uninstall gnutls-dane on CentOS 8

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

sudo dnf remove gnutls-dane

gnutls-dane Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/74
/usr/lib/.build-id/74/0d990cf309fd39273688d3fb43cdf2d11ae93f
/usr/lib64/libgnutls-dane.so.0
/usr/lib64/libgnutls-dane.so.0.4.1
/usr/lib/.build-id
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/0d96b89b3d2acbe5af82bf7e3def40d9b94cd9
/usr/lib64/libgnutls-dane.so.0
/usr/lib64/libgnutls-dane.so.0.4.1
/usr/lib/.build-id
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/3c3f87ad11721efa06e35b5afe8c21f9d19ab2
/usr/lib/libgnutls-dane.so.0
/usr/lib/libgnutls-dane.so.0.4.1
/usr/lib/.build-id
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/79f5b3cfdc59b99643ff0ae33c6cf8512932b9
/usr/lib/libgnutls-dane.so.0
/usr/lib/libgnutls-dane.so.0.4.1

References

Summary

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