How To Install dieharder on Rocky Linux 8
Introduction
In this tutorial we learn how to install dieharder
on Rocky Linux 8.
What is dieharder
dieharder is a fairly involved random number/uniform deviate generator tester. It can either test any of its many pre-built and linked generators (basically all of those in the Gnu Scientific Library plus some others) or a potentially random data-set in a file. With file input, it can manage either a variety of ASCII-formatted input or a raw binary bit string. It is thus suitable for use in testing both software RNG’s and hardware RNG’s. dieharder does all of its work with a standalone, extensible library, libdieharder. Therefore its tests can be integrated into other programs. dieharder encapsulates following random number tests “Diehard” battery of tests, STS (v1.6) from NIST FIPS, Knuth’s tests, and more. Check the documentation for complete list of the tests and references where possible. It is intended to be the “Swiss army knife of random number testers”, or “the last suite of random number testers you’ll ever wear”.
We can use yum
or dnf
to install dieharder
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install dieharder.
Install dieharder 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
using dnf
by running the following command:
sudo dnf -y install dieharder
Install dieharder 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
using yum
by running the following command:
sudo yum -y install dieharder
How To Uninstall dieharder on Rocky Linux 8
To uninstall only the dieharder
package we can use the following command:
sudo dnf remove dieharder
dieharder Package Contents on Rocky Linux 8
/usr/bin/dieharder
/usr/lib/.build-id
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/5d1578fd35d753e0ea08eb0c85f8ca0992c192
/usr/share/doc/dieharder
/usr/share/doc/dieharder/COPYING
/usr/share/doc/dieharder/ChangeLog
/usr/share/doc/dieharder/Copyright
/usr/share/doc/dieharder/NOTES
/usr/share/doc/dieharder/README
/usr/share/doc/dieharder/dieharder.html
/usr/share/doc/dieharder/dieharder.pdf
/usr/share/man/man1/dieharder.1.gz
References
Summary
In this tutorial we learn how to install dieharder
on Rocky Linux 8 using yum and dnf.