mandos-keygen command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mandos-keygen: command not found
or when using sudo you get the following error message
sudo: mandos-keygen: command not found
Solutions to mandos-keygen: command not found
How To Fix mandos-keygen: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mandos-keygen is provided by mandos-client package.
mandos-client is:
This is the client part of the Mandos system, which allows computers to have encrypted root file systems and at the same time be capable of remote and/or unattended reboots.
The computers run a small client program in the initial RAM disk environment which will communicate with a server over a network. All network communication is encrypted using TLS. The clients are identified by the server using a TLS public key; each client has one unique to it. The server sends the clients an encrypted password. The encrypted password is decrypted by the clients using an OpenPGP key, and the password is then used to unlock the root file system, whereupon the computers can continue booting normally.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mandos-client
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mandos-client.
sudo apt -y install mandos-client
Or if you have aptitude installed you can use the following command.
sudo aptitude install mandos-client
Summary
In this tutorial we learn how to fix mandos-keygen command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.