How To Install libgnutls-openssl27 on Ubuntu 18.04

In this tutorial we learn how to install libgnutls-openssl27 on Ubuntu 18.04. libgnutls-openssl27 is GNU TLS library - OpenSSL wrapper

Introduction

In this tutorial we learn how to install libgnutls-openssl27 on Ubuntu 18.04.

What is libgnutls-openssl27

libgnutls-openssl27 is:

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

GnuTLS features support for:

  • TLS extensions: server name indication, max record size, opaque PRF input, etc.
  • authentication using the SRP protocol.
  • authentication using both X.509 certificates and OpenPGP keys.
  • TLS Pre-Shared-Keys (PSK) extension.
  • Inner Application (TLS/IA) extension.
  • X.509 and OpenPGP certificate handling.
  • X.509 Proxy Certificates (RFC 3820).
  • all the strong encryption algorithms (including SHA-256/384/512 and Camellia (RFC 4132)).

This package contains the runtime library of the GnuTLS OpenSSL wrapper.

There are three methods to install libgnutls-openssl27 on Ubuntu 18.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 libgnutls-openssl27 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libgnutls-openssl27

Install libgnutls-openssl27 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgnutls-openssl27

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

sudo aptitude -y install libgnutls-openssl27

How To Uninstall libgnutls-openssl27 on Ubuntu 18.04

To uninstall only the libgnutls-openssl27 package we can use the following command:

sudo apt-get remove libgnutls-openssl27

Uninstall libgnutls-openssl27 And Its Dependencies

To uninstall libgnutls-openssl27 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libgnutls-openssl27

Remove libgnutls-openssl27 Configurations and Data

To remove libgnutls-openssl27 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libgnutls-openssl27

Remove libgnutls-openssl27 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgnutls-openssl27

References

Summary

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