How To Install rng-tools on Rocky Linux 8

In this tutorial we learn how to install rng-tools on Rocky Linux 8. rng-tools is Random number generator related utilities

Introduction

In this tutorial we learn how to install rng-tools on Rocky Linux 8.

What is rng-tools

Hardware random number generation tools.

We can use yum or dnf to install rng-tools on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install rng-tools.

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

sudo dnf -y install rng-tools

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

sudo yum -y install rng-tools

How To Uninstall rng-tools on Rocky Linux 8

To uninstall only the rng-tools package we can use the following command:

sudo dnf remove rng-tools

rng-tools Package Contents on Rocky Linux 8

/sbin/rngd
/usr/bin/rngtest
/usr/lib/.build-id
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/7b4f742ed685a9e00fbd2c7684ea3984ff8abb
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/e183b1d9f5550d6ea3363447bb54dc51e8e4a2
/usr/lib/systemd/system/rngd-wake-threshold.service
/usr/lib/systemd/system/rngd.service
/usr/share/doc/rng-tools
/usr/share/doc/rng-tools/AUTHORS
/usr/share/doc/rng-tools/NEWS
/usr/share/doc/rng-tools/README
/usr/share/licenses/rng-tools
/usr/share/licenses/rng-tools/COPYING
/usr/share/man/man1/rngtest.1.gz
/usr/share/man/man8/rngd.8.gz

References

Summary

In this tutorial we learn how to install rng-tools on Rocky Linux 8 using yum and dnf.