How To Install hw-probe on Kali Linux
Introduction
In this tutorial we learn how to install hw-probe on Kali Linux.
What is hw-probe
hw-probe is:
A tool to check operability of computer hardware and upload result to the Linux hardware database.
Probe ?? is a snapshot of your computer’s hardware state and system logs. The tool returns a permanent URL to view the probe of the computer.
The tool is intended to simplify collecting of logs necessary for investigating hardware related problems. Just ask user to run one simple command to collect all the system logs at once:
sudo hw-probe -all -upload
By creating probes you contribute to the HDD/SSD Real-Life Reliability Test study: https://github.com/linuxhw/SMART
There are three methods to install hw-probe on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install hw-probe Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install hw-probe using apt-get by running the following command:
sudo apt-get -y install hw-probeInstall hw-probe Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install hw-probe using apt by running the following command:
sudo apt -y install hw-probeInstall hw-probe Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install hw-probe using aptitude by running the following command:
sudo aptitude -y install hw-probeHow To Uninstall hw-probe on Kali Linux
To uninstall only the hw-probe package we can use the following command:
sudo apt-get remove hw-probeUninstall hw-probe And Its Dependencies
To uninstall hw-probe and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove hw-probeRemove hw-probe Configurations and Data
To remove hw-probe configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge hw-probeRemove hw-probe configuration, data, and all of its dependencies
We can use the following command to remove hw-probe configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge hw-probeDependencies
hw-probe have the following dependencies:
- acpica-tools
- curl
- dmidecode
- hdparm
- hwinfo
- libdigest-sha-perl
- libwww-perl
- lm-sensors
- lsb-release
- mesa-utils
- pciutils
- perl-base
- smartmontools
- usbutils
- x11-utils
- perl
References
Summary
In this tutorial we learn how to install hw-probe package on Kali Linux using different package management tools: apt, apt-get and aptitude.