MAKEDEV command not found

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

Introduction

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

MAKEDEV: command not found

or when using sudo you get the following error message

sudo: MAKEDEV: command not found

Solutions to MAKEDEV: command not found

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

In Ubuntu MAKEDEV is provided by makedev package.

makedev is:

The MAKEDEV executable is used to create device files, often in /dev.

Device files are special files through which applications can interact with hardware.

This package is not necessary for most modern Linux systems, where the udev subsystem provides a more dynamic mechanism for device file management.

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

sudo apt-get -y install makedev

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

You can also use apt command to install makedev.

sudo apt -y install makedev

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

sudo aptitude install makedev

Summary

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