How To Install gnutls-bin on Ubuntu 20.04
Introduction
In this tutorial we learn how to install gnutls-bin
on Ubuntu 20.04.
What is gnutls-bin
gnutls-bin 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 a commandline interface to the GNU TLS library, which can be used to set up secure connections from e.g. shell scripts, debugging connection issues or managing certificates.
Useful utilities include:
- TLS termination: gnutls-cli, gnutls-serv
- key and certificate management: certtool, ocsptool, p11tool
- credential management: srptool, psktool
Package: gnutls-bin Architecture: amd64 Version: 3.6.13-2ubuntu1 Multi-Arch: foreign Priority: optional Section: universe/net 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: 1423 Depends: libc6 (>= 2.17), libgnutls-dane0 (>= 3.5.6), libgnutls30 (>= 3.6.13-0+private+1), libopts25 (>= 1:5.18.16), libtasn1-6 (>= 4.14) Filename: pool/universe/g/gnutls28/gnutls-bin_3.6.13-2ubuntu1_amd64.deb Size: 273732 MD5sum: 75b81444617dc7705d1c6a17d0506609 SHA1: ef57a8e3397808aec0c26f4cb2dbf22e0e56e4f4 SHA256: 69b168a6e108a91935d598b72e609ea7a38397440f80611e48bd4265d591fce5 Homepage: https://www.gnutls.org/ Description-en: GNU TLS library - commandline utilities 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 a commandline interface to the GNU TLS library, which can be used to set up secure connections from e.g. shell scripts, debugging connection issues or managing certificates.
Useful utilities include:
- TLS termination: gnutls-cli, gnutls-serv
- key and certificate management: certtool, ocsptool, p11tool
- credential management: srptool, psktool
There are three methods to install gnutls-bin
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 gnutls-bin Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install gnutls-bin
using apt-get
by running the following command:
sudo apt-get -y install gnutls-bin
Install gnutls-bin Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install gnutls-bin
using apt
by running the following command:
sudo apt -y install gnutls-bin
Install gnutls-bin 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 gnutls-bin
using aptitude
by running the following command:
sudo aptitude -y install gnutls-bin
How To Uninstall gnutls-bin on Ubuntu 20.04
To uninstall only the gnutls-bin
package we can use the following command:
sudo apt-get remove gnutls-bin
Uninstall gnutls-bin And Its Dependencies
To uninstall gnutls-bin
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove gnutls-bin
Remove gnutls-bin Configurations and Data
To remove gnutls-bin
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge gnutls-bin
Remove gnutls-bin configuration, data, and all of its dependencies
We can use the following command to remove gnutls-bin
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gnutls-bin
References
Summary
In this tutorial we learn how to install gnutls-bin
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.