crunch command not found

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

Introduction

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

crunch: command not found

or when using sudo you get the following error message

sudo: crunch: command not found

Solutions to crunch: command not found

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

In Ubuntu crunch is provided by crunch package.

crunch is:

Crunch is a wordlist generator where you can specify a standard character set or any set of characters to be used in generating the wordlists. The wordlists are created through combination and permutation of a set of characters. You can determine the amount of characters and list size.

This program supports numbers and symbols, upper and lower case characters separately and Unicode.

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

sudo apt-get -y install crunch

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

You can also use apt command to install crunch.

sudo apt -y install crunch

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

sudo aptitude install crunch

Summary

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