hwinfo command not found

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

Introduction

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

hwinfo: command not found

or when using sudo you get the following error message

sudo: hwinfo: command not found

Solutions to hwinfo: command not found

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

In Ubuntu hwinfo is provided by hwinfo package.

hwinfo is:

hwinfo is the hardware detection tool used in SuSE Linux.

In Debian Edu (Skolelinux) hwinfo has shown better results than discover when detecting mouse, keyboard and monitor.

hwinfo collects information about the hardware installed on a system. Among others, libhd contains information about cdrom, zip, floppy, disks and partitions, network card, graphics card, monitor, camera, mouse, sound, pppoe, isdn, modem, printer, scanner, bios, cpu, usb, memory and smp.

This package does not include the binaries hwscan, hwscand and hwscanqueue. If you think one or more of these should be included in the package, please contact the maintainer at [email protected].

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

sudo apt-get -y install hwinfo

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

You can also use apt command to install hwinfo.

sudo apt -y install hwinfo

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

sudo aptitude install hwinfo

Summary

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