inputattach command not found

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

Introduction

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

inputattach: command not found

or when using sudo you get the following error message

sudo: inputattach: command not found

Solutions to inputattach: command not found

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

In Ubuntu inputattach is provided by inputattach package.

inputattach is:

inputattach connects legacy serial-attached input peripherals to the input subsystem: keyboards, mice, joysticks, touch-screens…

Amongst other things this allows legacy mice to be accessed via the /dev/input/mice multiplexer.

Supported devices include:

  • Serial-attached keyboards including the Apple Newton keyboard, DEC LK201 / LK401 keyboards, the Stowaway keyboard, Sun type 4 and 5 keyboards, standard PS/2 keyboards with a serial adapter
  • Serial mice using Genius, Logitech, Microsoft or Mouse Systems protocols
  • Serial-attached touchscreens including those manufactured by 3M, ELO, Fujitsu, Penmount, Touchright, Touchwindow
  • Serial-attached joysticks including I-Force, SpaceBall, SpaceOrb, Gravis Stinger, WingMan Warrior
  • The Handykey Twiddler used as a joystick or a chording keyboard

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

sudo apt-get -y install inputattach

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

You can also use apt command to install inputattach.

sudo apt -y install inputattach

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

sudo aptitude install inputattach

Summary

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