How To Install libdieharder3 on Kali Linux
Introduction
In this tutorial we learn how to install libdieharder3
on Kali Linux.
What is libdieharder3
libdieharder3 is:
libdieharder is the core library of dieharder and friends, designed to be “the last suite of random number testers you’ll ever wear”. It can test any of its many prebuilt and library linked generators (basically all of those in the GNU Scientific Library plus a number of others from various sources) or a potentially random dataset in either an ascii-formatted or raw (presumed 32 bit uint) binary file. It is fairly straightforward to wrap new software generators for testing, or to add hardware generators that have a software interface for testing, and the file input method permits pretty much any software or hardware RNG to be tested using libdieharder calls.
libdieharder has as a design goal the full encapsulation in an extensible shell of basically all the random number tests I have been able to find – George Marsaglia’s “diehard” battery of tests, STS (v1.6) from NIST FIPS, Knuth’s tests, and more. Check in the man page(s) or /usr/share/dieharder*/dieharder.pdf for documentation.
This package provides the shared library.
There are three methods to install libdieharder3
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libdieharder3 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libdieharder3
using apt-get
by running the following command:
sudo apt-get -y install libdieharder3
Install libdieharder3 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libdieharder3
using apt
by running the following command:
sudo apt -y install libdieharder3
Install libdieharder3 Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libdieharder3
using aptitude
by running the following command:
sudo aptitude -y install libdieharder3
How To Uninstall libdieharder3 on Kali Linux
To uninstall only the libdieharder3
package we can use the following command:
sudo apt-get remove libdieharder3
Uninstall libdieharder3 And Its Dependencies
To uninstall libdieharder3
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libdieharder3
Remove libdieharder3 Configurations and Data
To remove libdieharder3
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libdieharder3
Remove libdieharder3 configuration, data, and all of its dependencies
We can use the following command to remove libdieharder3
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdieharder3
Dependencies
libdieharder3 have the following dependencies:
References
Summary
In this tutorial we learn how to install libdieharder3
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.