makepasswd command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
makepasswd: command not found
or when using sudo you get the following error message
sudo: makepasswd: command not found
Solutions to makepasswd: command not found
How To Fix makepasswd: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu makepasswd is provided by makepasswd package.
makepasswd is:
Generates true random passwords using /dev/urandom, with the emphasis on security over pronounceability. It can also encrypt plaintext passwords given in a temporary file.
To fix this problem, we can install more using the command below.
sudo apt-get -y install makepasswd
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install makepasswd.
sudo apt -y install makepasswd
Or if you have aptitude installed you can use the following command.
sudo aptitude install makepasswd
Summary
In this tutorial we learn how to fix makepasswd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.