How To Install dieharder on Fedora 34

dieharder is Random number generator tester and timer Random number generator tester and timer

Introduction

In this tutorial we learn how to install dieharder on Fedora 34.

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”. dieharder 3.31.1 29.fc34 x86_64 584 k dieharder-3.31.1-29.fc34.src.rpm fedora Random number generator tester and timer http GPLv2+ 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install dieharder.

Install dieharder on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install dieharder using dnf by running the following command:

sudo dnf -y install dieharder

Install dieharder on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

To uninstall only the dieharder package we can use the following command:

sudo dnf remove dieharder

dieharder Package Contents on Fedora 34

/usr/bin/dieharder
/usr/lib/.build-id
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/1c52f7a2a85227c3796d1353894819b95e1192
/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
/usr/bin/dieharder
/usr/lib/.build-id
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/98d1db9e68636d2b9d26e4c8640b47c4a25323
/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 Fedora 34 using yum and dnf.