gpw command not found

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

Introduction

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

gpw: command not found

or when using sudo you get the following error message

sudo: gpw: command not found

Solutions to gpw: command not found

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

In Ubuntu gpw is provided by gpw package.

gpw is:

This package generates pronounceable passwords. It uses the statistics of three-letter combinations (trigraphs) taken from whatever dictionaries you feed it.

Thus pronounceability may differ from language to language. Based on the ideas in Morrie Gasser’s password generator for Multics, and Dan Edwards’s generator for CTSS. FIPS Standard 181 describes a similar digraph-based generator, derived from Gasser’s.

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

sudo apt-get -y install gpw

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

You can also use apt command to install gpw.

sudo apt -y install gpw

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

sudo aptitude install gpw

Summary

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