lshw-gtk command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
lshw-gtk: command not found
or when using sudo you get the following error message
sudo: lshw-gtk: command not found
Solutions to lshw-gtk: command not found
How To Fix lshw-gtk: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu lshw-gtk is provided by lshw-gtk package.
lshw-gtk is:
A small tool to provide detailed information on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 systems, on some PowerPC machines (PowerMac G4 is known to work) and AMD64.
This package provides lshw-gtk (the GTK+ version)
To fix this problem, we can install more using the command below.
sudo apt-get -y install lshw-gtk
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install lshw-gtk.
sudo apt -y install lshw-gtk
Or if you have aptitude installed you can use the following command.
sudo aptitude install lshw-gtk
Summary
In this tutorial we learn how to fix lshw-gtk command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.