How To Install dieharder-libs on Rocky Linux 8
Introduction
In this tutorial we learn how to install dieharder-libs
on Rocky Linux 8.
What is dieharder-libs
libdieharder is the core library of dieharder designed to be “the last suite of random number testers you’ll ever wear”. It can test any of its many pre-built 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 data-set in either an ASCII-formatted or raw (presumed 32 bit unsigned int) 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 Marsaglia’s “Diehard” battery of tests, STS (v1.6) from NIST FIPS, Knuth’s tests, and more. Check the documentation for complete list.
We can use yum
or dnf
to install dieharder-libs
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install dieharder-libs.
Install dieharder-libs on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install dieharder-libs
using dnf
by running the following command:
sudo dnf -y install dieharder-libs
Install dieharder-libs on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install dieharder-libs
using yum
by running the following command:
sudo yum -y install dieharder-libs
How To Uninstall dieharder-libs on Rocky Linux 8
To uninstall only the dieharder-libs
package we can use the following command:
sudo dnf remove dieharder-libs
dieharder-libs Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/6f7080eda2f3b045a2a3bbbf38d80f157a5cc0
/usr/lib64/libdieharder.so.3
/usr/lib64/libdieharder.so.3.31.1
/usr/share/man/man3/libdieharder.3.gz
References
Summary
In this tutorial we learn how to install dieharder-libs
on Rocky Linux 8 using yum and dnf.