input-events command not found

In this troubleshooting guide we learn how to fix input-events command not found error message

Introduction

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

input-events: command not found

or when using sudo you get the following error message

sudo: input-events: command not found

Solutions to input-events: command not found

How To Fix input-events: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu input-events is provided by input-utils package.

input-utils is:

This is a collection of utilities which are useful when working with the input layer of the Linux kernel (version 2.6 and later). Included are utilities to list the input devices known to the kernel, show the input events that are received by a device, and query or modify keyboard maps.

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

sudo apt-get -y install input-utils

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

You can also use apt command to install input-utils.

sudo apt -y install input-utils

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

sudo aptitude install input-utils

Summary

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