How To Install Rngd On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian?

How To Install Rngd On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian?

rngd

Daemon to use a Hardware TRNG

Maintainer: Henrique de Moraes Holschuh


Section: utils

Install rngd

  • Debian apt-get install rng-tools Click to copy
  • Ubuntu apt-get install rng-tools Click to copy
  • Alpine OS apk add rng-tools Click to copy
  • Arch Linux pacman -S rng-tools Click to copy
  • Kali Linux apt-get install rng-tools Click to copy
  • CentOS yum install rng-tools Click to copy
  • Fedora dnf install rng-tools Click to copy
  • Raspbian apt-get install rng-tools Click to copy

rng-tools

Daemon to use a Hardware TRNG

The rngd daemon acts as a bridge between a Hardware TRNG (true random number generator) such as the ones in some Intel/AMD/VIA chipsets, and the kernel's PRNG (pseudo-random number generator). It tests the data received from the TRNG using the FIPS 140-2 (2002-10-10) tests to verify that it is indeed random, and feeds the random data to the kernel entropy pool. This increases the bandwidth of the /dev/random device, from a source that does not depend on outside activity. It may also improve the quality (entropy) of the randomness of /dev/random. A TRNG kernel module such as hw_random, or some other source of true entropy that is accessible as a device or fifo, is required to use this package. This is an unofficial version of rng-tools which has been extensively modified to add multithreading and a lot of new functionality.

rng-tools5

Daemon to use a Hardware TRNG

The rngd daemon acts as a bridge between a Hardware TRNG (true random number generator) such as the ones in some Intel/AMD/VIA chipsets, and the kernel's PRNG (pseudo-random number generator). It tests the data received from the TRNG using the FIPS 140-2 (2002-10-10) tests to verify that it is indeed random, and feeds the random data to the kernel entropy pool. This increases the bandwidth of the /dev/random device, from a source that does not depend on outside activity. This may improve the behavior of systems which experience low values in /proc/sys/kernel/random/entropy_avail It may also improve the quality (entropy) of the randomness of /dev/random. A TRNG kernel module such as hw_random, or some other source of true entropy that is accessible as a device or fifo, is required to use this package. It will take advantage of the RDRAND and RDSEED instructions included in some Intel & AMD CPUs.

rng-tools-debian

daemon to use a Hardware TRNG (classic version)

The rngd daemon acts as a bridge between a Hardware TRNG (true random number generator), such as the ones in some Intel/AMD/VIA chipsets, and the kernel's PRNG (pseudo-random number generator). It tests the data received from the TRNG using the FIPS 140-2 (2002-10-10) tests to verify that it is indeed random, and feeds the random data to the kernel entropy pool. This increases the bandwidth of the /dev/random device, from a source that does not depend on outside activity. It may also improve the quality (entropy) of the randomness of /dev/random. A TRNG kernel module such as hw_random, or some other source of true entropy that is accessible as a device or fifo, is required to use this package. This is an unofficial version of rng-tools which has been extensively modified to add multithreading and a lot of new functionality. However, most users of newer or high-bandwidth HWRNGs might wish to install the 5.x version of rng-tools, also packaged as rng-tools5, instead; while it lacks some of the new functionality from this version, it offers more performant support for those.

rng-tools-5

Random number generator related utilities

rng-tools-6

Random number generator related utilities
Installation of latest rngd command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.