How To Install libgnutlsxx28 on Ubuntu 20.04

In this tutorial we learn how to install libgnutlsxx28 on Ubuntu 20.04. libgnutlsxx28 is GNU TLS library - C++ runtime library GNU TLS library - C++ runtime library

Introduction

In this tutorial we learn how to install libgnutlsxx28 on Ubuntu 20.04.

What is libgnutlsxx28

libgnutlsxx28 is:

GnuTLS is a portable library which implements the Transport Layer Security (TLS 1.0, 1.1, 1.2, 1.3) and Datagram Transport Layer Security (DTLS 1.0, 1.2) protocols.

GnuTLS features support for:

  • certificate path validation, as well as DANE and trust on first use.
  • the Online Certificate Status Protocol (OCSP).
  • public key methods, including RSA and Elliptic curves, as well as password and key authentication methods such as SRP and PSK protocols.
  • all the strong encryption algorithms, including AES and Camellia.
  • CPU-assisted cryptography with VIA padlock and AES-NI instruction sets.
  • HSMs and cryptographic tokens, via PKCS #11.

This package contains the C++ runtime libraries.

Package: libgnutlsxx28 Architecture: amd64 Version: 3.6.13-2ubuntu1 Multi-Arch: same Priority: extra Section: libs Source: gnutls28 Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian GnuTLS Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 82 Depends: libgnutls30 (= 3.6.13-2ubuntu1), libc6 (>= 2.14), libgcc-s1 (>= 3.0), libstdc++6 (>= 5) Filename: pool/main/g/gnutls28/libgnutlsxx28_3.6.13-2ubuntu1_amd64.deb Size: 14656 MD5sum: 1b89b04e8c565ea8e814ca3f2c84f7e8 SHA1: 8201caf5a18de82401a577698f99f6073abc4f16 SHA256: 6814a20472f075b3356ed983014dd2a927429a18791dd00d15a7a6ca06bc7085 Homepage: https://www.gnutls.org/ Description-en: GNU TLS library - C++ runtime library GnuTLS is a portable library which implements the Transport Layer Security (TLS 1.0, 1.1, 1.2, 1.3) and Datagram Transport Layer Security (DTLS 1.0, 1.2) protocols.

GnuTLS features support for:

  • certificate path validation, as well as DANE and trust on first use.
  • the Online Certificate Status Protocol (OCSP).
  • public key methods, including RSA and Elliptic curves, as well as password and key authentication methods such as SRP and PSK protocols.
  • all the strong encryption algorithms, including AES and Camellia.
  • CPU-assisted cryptography with VIA padlock and AES-NI instruction sets.
  • HSMs and cryptographic tokens, via PKCS #11.

This package contains the C++ runtime libraries.

There are three methods to install libgnutlsxx28 on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libgnutlsxx28 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libgnutlsxx28 using apt-get by running the following command:

sudo apt-get -y install libgnutlsxx28

Install libgnutlsxx28 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libgnutlsxx28 using apt by running the following command:

sudo apt -y install libgnutlsxx28

Install libgnutlsxx28 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libgnutlsxx28 using aptitude by running the following command:

sudo aptitude -y install libgnutlsxx28

How To Uninstall libgnutlsxx28 on Ubuntu 20.04

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

sudo apt-get remove libgnutlsxx28

Uninstall libgnutlsxx28 And Its Dependencies

To uninstall libgnutlsxx28 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libgnutlsxx28

Remove libgnutlsxx28 Configurations and Data

To remove libgnutlsxx28 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libgnutlsxx28

Remove libgnutlsxx28 configuration, data, and all of its dependencies

We can use the following command to remove libgnutlsxx28 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libgnutlsxx28

References

Summary

In this tutorial we learn how to install libgnutlsxx28 package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.