How To Install gnutls-c++ on CentOS 8

gnutls-c++ is The C++ interface to GnuTLS The C++ interface to GnuTLS

Introduction

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

What is gnutls-c++

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-c++ 3.6.14 8.el8_3 x86_64 48 k gnutls-3.6.14-8.el8_3.src.rpm appstream The C++ interface to 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.

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

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

sudo dnf -y install gnutls-c++

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

sudo yum -y install gnutls-c++

How To Uninstall gnutls-c++ on CentOS 8

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

sudo dnf remove gnutls-c++

gnutls-c++ Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/f340b94d32fbc9073c14cd6a7ac490f7754377
/usr/lib64/libgnutlsxx.so.28
/usr/lib64/libgnutlsxx.so.28.1.0
/usr/lib/.build-id
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/7b9514c297f9137687571e38b1daf33485a726
/usr/lib/libgnutlsxx.so.28
/usr/lib/libgnutlsxx.so.28.1.0
/usr/lib/.build-id
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/be738aec94a30d9193b14770d8d84b960e7bfa
/usr/lib64/libgnutlsxx.so.28
/usr/lib64/libgnutlsxx.so.28.1.0
/usr/lib/.build-id
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/e7aeee53b9d9ac9d66cf1c454e5c238c2118ed
/usr/lib/libgnutlsxx.so.28
/usr/lib/libgnutlsxx.so.28.1.0

References

Summary

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