Hola,

I ran into the below issue while trying to install mkpasswd

sudo apt install mkpasswd

Reading package lists… Done Building dependency tree Reading state information… Done E: Unable to locate package mkpasswd

Turns out that mkpasswd is a utility part of the whois package. So, in order to get mkpasswd you have to:

sudo apt install whois

To confirm mkpasswd is installed you can run:

which mkpasswd

You should get the following:

/usr/bin/mkpasswd

Leave a comment

Your email address will not be published. Required fields are marked *