How To Install libhighwayhash0 on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libhighwayhash0
on Ubuntu 20.04.
What is libhighwayhash0
libhighwayhash0 is:
Highwayhash provides three ‘strong’ (well-distributed and unpredictable) hash functions: a faster version of SipHash, a data-parallel variant of SipHash using tree hashing, and an even faster algorithm called HighwayHash.
SipHash is a fast but ‘cryptographically strong’ pseudo-random function by Aumasson and Bernstein [https://www.131002.net/siphash/siphash.pdf].
SipTreeHash slices inputs into 8-byte packets and computes their SipHash in parallel, which is faster when processing at least 96 bytes.
HighwayHash is a new way of mixing inputs which may inspire new cryptographically strong hashes. Large inputs are processed at a rate of 0.3 cycles per byte, and latency remains low even for small inputs. HighwayHash is faster than SipHash for all input sizes, with about 3.8 times higher throughput at 1 KiB.
This package ships the shared object.
There are three methods to install libhighwayhash0
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 libhighwayhash0 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libhighwayhash0
using apt-get
by running the following command:
sudo apt-get -y install libhighwayhash0
Install libhighwayhash0 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libhighwayhash0
using apt
by running the following command:
sudo apt -y install libhighwayhash0
Install libhighwayhash0 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 libhighwayhash0
using aptitude
by running the following command:
sudo aptitude -y install libhighwayhash0
How To Uninstall libhighwayhash0 on Ubuntu 20.04
To uninstall only the libhighwayhash0
package we can use the following command:
sudo apt-get remove libhighwayhash0
Uninstall libhighwayhash0 And Its Dependencies
To uninstall libhighwayhash0
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libhighwayhash0
Remove libhighwayhash0 Configurations and Data
To remove libhighwayhash0
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libhighwayhash0
Remove libhighwayhash0 configuration, data, and all of its dependencies
We can use the following command to remove libhighwayhash0
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libhighwayhash0
References
Summary
In this tutorial we learn how to install libhighwayhash0
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.