#### Beyond Linux® From Scratch (systemd Edition) - Version 10.1

### Chapter 4. Security

- Prev

  GPGME-1.15.1

- Next

  iptables-1.8.7

- Up
- Home

# Haveged-1.9.14

## Introduction to Haveged

The Haveged package contains a daemon that generates an unpredictable stream of random numbers and feeds the /dev/random device.

This package is known to build and work properly using an LFS-10.1 platform.

### Package Information

- Download (HTTP): https://github.com/jirka-h/haveged/archive/v1.9.14/haveged-1.9.14.tar.gz

- Download MD5 sum: f756474201bec9a46b41e8712f79468a

- Download size: 488 KB

- Estimated disk space required: 21 MB (with tests)

- Estimated build time: 0.1 SBU (with tests)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/haveged

## Installation of Haveged

Install Haveged by running the following commands:

    ./configure --prefix=/usr --disable-static &&
    make

To test the results, issue: make check.

Now, as the `root` user:

    make install &&
    mkdir -pv    /usr/share/doc/haveged-1.9.14 &&
    cp -v README /usr/share/doc/haveged-1.9.14

## Configuring haveged

###

#### Systemd Unit

If you want the Haveged daemon to start automatically when the system is booted, install the `haveged.service` unit included in the blfs-systemd-units-20210122 package (as the `root` user):

    make install-haveged

## Contents

Installed Programs: haveged
Installed Libraries: libhavege.so
Installed Directory: /usr/include/haveged and /usr/share/doc/haveged-1.9.14

### Short Descriptions

haveged | is a daemon that generates an unpredictable stream of random numbers harvested from the indirect effects of hardware events based on hidden processor states (caches, branch predictors, memory translation tables, etc)

Last updated on 2021-02-19 11:32:42 -0800

- Prev

  GPGME-1.15.1

- Next

  iptables-1.8.7

- Up
- Home