enum command not found

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

Introduction

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

enum: command not found

or when using sudo you get the following error message

sudo: enum: command not found

Solutions to enum: command not found

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

In Ubuntu enum is provided by enum package.

enum is:

enum enumerates values (numbers) between two values, possibly further adjusted by a step and/or a count, all given on the command line. Before printing, values are passed through a formatter. Very fine control over input interpretation and output is possible.

enum is designed to be a drop-in replacement for GNU seq while still providing (almost) the same feature set jot (on BSD) provides.

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

sudo apt-get -y install enum

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

You can also use apt command to install enum.

sudo apt -y install enum

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

sudo aptitude install enum

Summary

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