usbhid-dump command not found

In this troubleshooting guide we learn how to fix usbhid-dump command not found error message

Introduction

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

usbhid-dump: command not found

or when using sudo you get the following error message

sudo: usbhid-dump: command not found

Solutions to usbhid-dump: command not found

How To Fix usbhid-dump: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu usbhid-dump is provided by usbutils package.

usbutils is:

This package contains the lsusb utility for inspecting the devices connected to the USB bus. It shows a graphical representation of the devices that are currently plugged in, showing the topology of the USB bus. It also displays information on each individual device on the bus.

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

sudo apt-get -y install usbutils

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

You can also use apt command to install usbutils.

sudo apt -y install usbutils

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

sudo aptitude install usbutils

Summary

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