How To Install libcrcutil0 on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libcrcutil0
on Ubuntu 20.04.
What is libcrcutil0
libcrcutil0 is:
Crcutil library provides efficient implementation of CRC algorithms. It includes reference implementation of a novel Multiword CRC algorithm invented by Andrew Kadatch and Bob Jenkins in early 2007. The new algorithm is heavily tuned towards modern Intel and AMD processors and is substantially faster than almost all other software CRC algorithms.
Included whitepaper describes the details of Multiword CRC algorithm as well as other algorithms and CRC manipulation routines implemented by crcutil library.
Crcutil library computes:
- Hardware-assisted CRC32C: 0.13 (Nehalem) CPU cycles per byte.
- 64-bit and smaller CRCs: 1.0 (Nehalem) - 1.2 (Core) CPU cycles per byte.
- 128-bit CRCs: 1.7 CPU cycles per byte.
Since computational speed of 64-bit CRCs is identical to 32-bit and 16-bit, the use of crcutil library enables widespread use of more reliable 64-bit CRCs instead of 32-bit ones.
As a bonus, crcutil also implements a number of useful CRC “tricks” (e.g. computation of CRC of concatenated blocks of data of known length and CRC without touching actual data).
There are three methods to install libcrcutil0
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 libcrcutil0 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libcrcutil0
using apt-get
by running the following command:
sudo apt-get -y install libcrcutil0
Install libcrcutil0 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libcrcutil0
using apt
by running the following command:
sudo apt -y install libcrcutil0
Install libcrcutil0 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 libcrcutil0
using aptitude
by running the following command:
sudo aptitude -y install libcrcutil0
How To Uninstall libcrcutil0 on Ubuntu 20.04
To uninstall only the libcrcutil0
package we can use the following command:
sudo apt-get remove libcrcutil0
Uninstall libcrcutil0 And Its Dependencies
To uninstall libcrcutil0
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libcrcutil0
Remove libcrcutil0 Configurations and Data
To remove libcrcutil0
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libcrcutil0
Remove libcrcutil0 configuration, data, and all of its dependencies
We can use the following command to remove libcrcutil0
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcrcutil0
References
Summary
In this tutorial we learn how to install libcrcutil0
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.