wlangenpmk command not found

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

Introduction

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

wlangenpmk: command not found

or when using sudo you get the following error message

sudo: wlangenpmk: command not found

Solutions to wlangenpmk: command not found

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

In Ubuntu wlangenpmk is provided by hcxkeys package.

hcxkeys is:

Small set of tools to generate plainmasterkeys (rainbowtables) and hashes for the use with latest hashcat and latest John the Ripper.

The package provides two binaries:

  • wlangenpmk for CPU calculations.
  • wlangenpmkocl for GPU calculations.

In order to use the GPU, the correspondent OpenCL drivers for your GPU model should be installed.

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

sudo apt-get -y install hcxkeys

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

You can also use apt command to install hcxkeys.

sudo apt -y install hcxkeys

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

sudo aptitude install hcxkeys

Summary

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