How To Install dieharder-devel on CentOS 8

dieharder-devel is A library of random number generator tests and timing routines

Introduction

In this tutorial we learn how to install dieharder-devel on CentOS 8.

What is dieharder-devel

Development files for dieharder

We can use yum or dnf to install dieharder-devel on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install dieharder-devel.

Install dieharder-devel on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install dieharder-devel

Install dieharder-devel on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install dieharder-devel

How To Uninstall dieharder-devel on CentOS 8

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

sudo dnf remove dieharder-devel

dieharder-devel Package Contents on CentOS 8

/usr/include/dieharder
/usr/include/dieharder/Dtest.h
/usr/include/dieharder/Vtest.h
/usr/include/dieharder/Xtest.h
/usr/include/dieharder/copyright.h
/usr/include/dieharder/dab_bytedistrib.h
/usr/include/dieharder/dab_dct.h
/usr/include/dieharder/dab_filltree.h
/usr/include/dieharder/dab_filltree2.h
/usr/include/dieharder/dab_monobit2.h
/usr/include/dieharder/diehard_2dsphere.h
/usr/include/dieharder/diehard_3dsphere.h
/usr/include/dieharder/diehard_birthdays.h
/usr/include/dieharder/diehard_bitstream.h
/usr/include/dieharder/diehard_count_1s_byte.h
/usr/include/dieharder/diehard_count_1s_stream.h
/usr/include/dieharder/diehard_craps.h
/usr/include/dieharder/diehard_dna.h
/usr/include/dieharder/diehard_operm5.h
/usr/include/dieharder/diehard_opso.h
/usr/include/dieharder/diehard_oqso.h
/usr/include/dieharder/diehard_parking_lot.h
/usr/include/dieharder/diehard_rank_32x32.h
/usr/include/dieharder/diehard_rank_6x8.h
/usr/include/dieharder/diehard_runs.h
/usr/include/dieharder/diehard_squeeze.h
/usr/include/dieharder/diehard_sums.h
/usr/include/dieharder/dieharder_rng_types.h
/usr/include/dieharder/dieharder_test_types.h
/usr/include/dieharder/libdieharder.h
/usr/include/dieharder/marsaglia_tsang_gcd.h
/usr/include/dieharder/marsaglia_tsang_gorilla.h
/usr/include/dieharder/parse.h
/usr/include/dieharder/rgb_bitdist.h
/usr/include/dieharder/rgb_kstest_test.h
/usr/include/dieharder/rgb_lagged_sums.h
/usr/include/dieharder/rgb_lmn.h
/usr/include/dieharder/rgb_minimum_distance.h
/usr/include/dieharder/rgb_operm.h
/usr/include/dieharder/rgb_permutations.h
/usr/include/dieharder/rgb_persist.h
/usr/include/dieharder/rgb_timing.h
/usr/include/dieharder/std_test.h
/usr/include/dieharder/sts_monobit.h
/usr/include/dieharder/sts_runs.h
/usr/include/dieharder/sts_serial.h
/usr/include/dieharder/tests.h
/usr/include/dieharder/verbose.h
/usr/lib64/libdieharder.so

References

Summary

In this tutorial we learn how to install dieharder-devel on CentOS 8 using yum and dnf.