hardinfo command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
hardinfo: command not found
or when using sudo you get the following error message
sudo: hardinfo: command not found
Solutions to hardinfo: command not found
How To Fix hardinfo: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu hardinfo is provided by hardinfo package.
hardinfo is:
HardInfo is a small application that displays information about your hardware and operating system. Currently it knows about PCI, ISA PnP, USB, IDE, SCSI, Serial and parallel port devices.
To fix this problem, we can install more using the command below.
sudo apt-get -y install hardinfo
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install hardinfo.
sudo apt -y install hardinfo
Or if you have aptitude installed you can use the following command.
sudo aptitude install hardinfo
Summary
In this tutorial we learn how to fix hardinfo command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.