How To Install libhogweed5 on Ubuntu 20.04

In this tutorial we learn how to install libhogweed5 on Ubuntu 20.04. libhogweed5 is low level cryptographic library (public-key cryptos) low level cryptographic library (public-key cryptos)

Introduction

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

What is libhogweed5

libhogweed5 is:

Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, …), in applications like LSH or GNUPG, or even in kernel space.

It tries to solve a problem of providing a common set of cryptographic algorithms for higher-level applications by implementing a context-independent set of cryptographic algorithms. In that light, Nettle doesn’t do any memory allocation or I/O, it simply provides the cryptographic algorithms for the application to use in any environment and in any way it needs.

This package contains the asymmetric cryptographic algorithms, which, require the GNU multiple precision arithmetic library (libgmp) for their large integer computations. Task: minimal Build-Essential: yes

Package: libhogweed5 Architecture: amd64 Version: 3.5.1+really3.5.1-2 Multi-Arch: same Priority: important Section: libs Source: nettle Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Magnus Holmgren [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 241 Depends: libc6 (>= 2.14), libgmp10 (>= 2:6.0.0), libnettle7 (= 3.5.1+really3.5.1-2) Filename: pool/main/n/nettle/libhogweed5_3.5.1+really3.5.1-2_amd64.deb Size: 137896 MD5sum: 3dbe95e37abfac1460acdd742700e47c SHA1: d4ee939f75a6f411bc20d50f73eee2ceacf60433 SHA256: f6d44532a0d12bf5c7046295755c4a5897f8e06c814d36acb545c50f9652f852 Homepage: http://www.lysator.liu.se/~nisse/nettle/ Description-en: low level cryptographic library (public-key cryptos) Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, …), in applications like LSH or GNUPG, or even in kernel space.

It tries to solve a problem of providing a common set of cryptographic algorithms for higher-level applications by implementing a context-independent set of cryptographic algorithms. In that light, Nettle doesn’t do any memory allocation or I/O, it simply provides the cryptographic algorithms for the application to use in any environment and in any way it needs.

This package contains the asymmetric cryptographic algorithms, which, require the GNU multiple precision arithmetic library (libgmp) for their large integer computations. Task: minimal Build-Essential: yes

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

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

sudo apt-get update

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

sudo apt-get -y install libhogweed5

Install libhogweed5 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libhogweed5

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

sudo aptitude -y install libhogweed5

How To Uninstall libhogweed5 on Ubuntu 20.04

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

sudo apt-get remove libhogweed5

Uninstall libhogweed5 And Its Dependencies

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

sudo apt-get -y autoremove libhogweed5

Remove libhogweed5 Configurations and Data

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

sudo apt-get -y purge libhogweed5

Remove libhogweed5 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libhogweed5

References

Summary

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