How To Install libgnutls28-dev on Ubuntu 20.04

In this tutorial we learn how to install libgnutls28-dev on Ubuntu 20.04. libgnutls28-dev is GNU TLS library - development files GNU TLS library - development files

Introduction

In this tutorial we learn how to install libgnutls28-dev on Ubuntu 20.04.

What is libgnutls28-dev

libgnutls28-dev 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 GnuTLS development files.

Package: libgnutls28-dev Architecture: amd64 Version: 3.6.13-2ubuntu1 Multi-Arch: same Priority: optional Section: libdevel 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: 4543 Provides: gnutls-dev, libgnutls-openssl-dev Depends: libc6-dev | libc-dev, libgnutls-dane0 (= 3.6.13-2ubuntu1), libgnutls-openssl27 (= 3.6.13-2ubuntu1), libgnutls30 (= 3.6.13-2ubuntu1), libgnutlsxx28 (= 3.6.13-2ubuntu1), libidn2-dev, libp11-kit-dev (>= 0.23.10), libtasn1-6-dev, nettle-dev (>= 3.4.1~rc1) Suggests: gnutls-bin, gnutls-doc Conflicts: gnutls-dev Replaces: gnutls-dev Filename: pool/main/g/gnutls28/libgnutls28-dev_3.6.13-2ubuntu1_amd64.deb Size: 874140 MD5sum: 9aac9c2f184e6eb108249be559451d51 SHA1: dd57bb1e07e9c8267952821b1e1dc5339aea0fe6 SHA256: 414599ac2e53d649a549a9c39f289841066e58465f9e28f898dda5397300ddb1 Homepage: https://www.gnutls.org/ Description-en: GNU TLS library - development files 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 GnuTLS development files.

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

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

sudo apt-get update

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

sudo apt-get -y install libgnutls28-dev

Install libgnutls28-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgnutls28-dev

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

sudo aptitude -y install libgnutls28-dev

How To Uninstall libgnutls28-dev on Ubuntu 20.04

To uninstall only the libgnutls28-dev package we can use the following command:

sudo apt-get remove libgnutls28-dev

Uninstall libgnutls28-dev And Its Dependencies

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

sudo apt-get -y autoremove libgnutls28-dev

Remove libgnutls28-dev Configurations and Data

To remove libgnutls28-dev configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libgnutls28-dev

Remove libgnutls28-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgnutls28-dev

References

Summary

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