How To Install egd on Fedora 34

egd is Entropy Gathering Daemon

Introduction

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

What is egd

EGD is an Entropy Gathering Daemon meant to be used on systems that can run GPG but which don’t have a convenient (or reliable) source of random bits. It is a regular user-space program that sits around, running programs like ‘w’ and ’last’ and ‘vmstat’, collecting the randomness (or at least the unpredictability) inherent in the output of these system statistics programs when used on a reasonably busy system. It slowly stirs the output of these gathering programs into a pool of entropy, much like the linux kernel device, and allows other programs to read out random bits from this pool.

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

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

sudo dnf -y install egd

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

sudo yum -y install egd

How To Uninstall egd on Fedora 34

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

sudo dnf remove egd

egd Package Contents on Fedora 34

/usr/bin/egd.pl
/usr/share/doc/egd
/usr/share/doc/egd/COPYING
/usr/share/doc/egd/COPYING.xfree86
/usr/share/doc/egd/README

References

Summary

In this tutorial we learn how to install egd on Fedora 34 using yum and dnf.