How To Install libgnutls30 on Ubuntu 20.04

In this tutorial we learn how to install libgnutls30 on Ubuntu 20.04. libgnutls30 is GNU TLS library - main runtime library GNU TLS library - main runtime library

Introduction

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

What is libgnutls30

libgnutls30 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 main runtime library. Task: minimal Build-Essential: yes

Package: libgnutls30 Architecture: amd64 Version: 3.6.13-2ubuntu1 Multi-Arch: same Priority: important 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: 2192 Depends: libgmp10 (>= 2:6.0.0), libc6 (>= 2.25), libhogweed5, libidn2-0 (>= 2.0.0), libnettle7, libp11-kit0 (>= 0.23.18.1), libtasn1-6 (>= 4.14), libunistring2 (>= 0.9.7) Suggests: gnutls-bin Filename: pool/main/g/gnutls28/libgnutls30_3.6.13-2ubuntu1_amd64.deb Size: 828448 MD5sum: 0058e4538d7bfd298a8dc8a5052a6af4 SHA1: 6e414202e201be50b79d93204f36b31cacf80c13 SHA256: 3063ed45f71bced56145119c205288a13820022a7e10b20e86df193d3b5892d1 Homepage: https://www.gnutls.org/ Description-en: GNU TLS library - main 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 main runtime library. Task: minimal Build-Essential: yes

There are three methods to install libgnutls30 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 libgnutls30 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libgnutls30

Install libgnutls30 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgnutls30

Install libgnutls30 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 libgnutls30 using aptitude by running the following command:

sudo aptitude -y install libgnutls30

How To Uninstall libgnutls30 on Ubuntu 20.04

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

sudo apt-get remove libgnutls30

Uninstall libgnutls30 And Its Dependencies

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

sudo apt-get -y autoremove libgnutls30

Remove libgnutls30 Configurations and Data

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

sudo apt-get -y purge libgnutls30

Remove libgnutls30 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgnutls30

References

Summary

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