haveged command not found

In this troubleshooting guide we learn how to fix haveged command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

haveged: command not found

or when using sudo you get the following error message

sudo: haveged: command not found

Solutions to haveged: command not found

How To Fix haveged: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu haveged is provided by haveged package.

haveged is:

haveged is a userspace entropy daemon which is not dependent upon the standard mechanisms for harvesting randomness for the system entropy pool. This is important in systems with high entropy needs or limited user interaction (e.g. headless servers).

haveged uses HAVEGE (HArdware Volatile Entropy Gathering and Expansion) to maintain a 1M pool of random bytes used to fill /dev/random whenever the supply of random bits in dev/random falls below the low water mark of the device.

More information about HAVEGE is available at http://www.irisa.fr/caps/projects/hipsor/

To fix this problem, we can install more using the command below.

sudo apt-get -y install haveged

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install haveged.

sudo apt -y install haveged

Or if you have aptitude installed you can use the following command.

sudo aptitude install haveged

Summary

In this tutorial we learn how to fix haveged command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.