How To Install practrand on CentOS 8

practrand is Software package for the Randon number generation & testing

Introduction

In this tutorial we learn how to install practrand on CentOS 8.

What is practrand

Software package for the Random number generation & testing. A suite of statistical tests for fast PRNGs. Multithreaded for speed, command-line tools for automation, no upper limit on data size. A variety of C++ pseudo-random number generators with well-designed interfaces aimed at practical uses, not just research. Features * A convenient & powerful interface to RNG algorithms * A variety of fast high quality RNG algorithms * Fast & effective statistical tests for RNGs

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

Install practrand 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 practrand using dnf by running the following command:

sudo dnf -y install practrand

Install practrand 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 practrand using yum by running the following command:

sudo yum -y install practrand

How To Uninstall practrand on CentOS 8

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

sudo dnf remove practrand

practrand Package Contents on CentOS 8

/usr/bin/practrand-RNG_benchmark
/usr/bin/practrand-RNG_output
/usr/bin/practrand-RNG_test
/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/8aabdd0ce0fa99a08dd4eaf1e2e93f2692cf48
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/593755541ee6264ca26a94d26a5e88b08265c2
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/dd443a685f8d1e9298c6801fe742fd4a0d65f2
/usr/share/doc/practrand
/usr/share/doc/practrand/doc
/usr/share/doc/practrand/doc/PractRand.txt
/usr/share/doc/practrand/doc/RNG_engines.txt
/usr/share/doc/practrand/doc/RNG_entropy_pools.txt
/usr/share/doc/practrand/doc/RNG_interface_variations.txt
/usr/share/doc/practrand/doc/RNG_multithreading.txt
/usr/share/doc/practrand/doc/RNG_parallel.txt
/usr/share/doc/practrand/doc/RNG_speed.txt
/usr/share/doc/practrand/doc/RNG_usage.txt
/usr/share/doc/practrand/doc/Tests_batteries.txt
/usr/share/doc/practrand/doc/Tests_engines.txt
/usr/share/doc/practrand/doc/Tests_overview.txt
/usr/share/doc/practrand/doc/Tests_performance.txt
/usr/share/doc/practrand/doc/Tests_results.txt
/usr/share/doc/practrand/doc/Tests_usage.txt
/usr/share/doc/practrand/doc/index.html
/usr/share/doc/practrand/doc/installation.txt
/usr/share/doc/practrand/doc/portability.txt
/usr/share/doc/practrand/doc/practrand-RNG_test.examples
/usr/share/doc/practrand/doc/to_do.txt
/usr/share/doc/practrand/doc/tools.txt
/usr/share/doc/practrand/doc/versions.txt
/usr/share/licenses/practrand
/usr/share/licenses/practrand/license.txt
/usr/share/man/man1/practrand-RNG_benchmark.1.gz
/usr/share/man/man1/practrand-RNG_output.1.gz
/usr/share/man/man1/practrand-RNG_test.1.gz

References

Summary

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