How To Install hwinfo on Rocky Linux 8
Introduction
In this tutorial we learn how to install hwinfo on Rocky Linux 8.
What is hwinfo
hwinfo is to probe for the hardware present in the system. It can be used to generate a system overview log which can be later used for support.
We can use yum or dnf to install hwinfo on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install hwinfo.
Install hwinfo on Rocky Linux 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install hwinfo using dnf by running the following command:
sudo dnf -y install hwinfo
Install hwinfo on Rocky Linux 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install hwinfo using yum by running the following command:
sudo yum -y install hwinfo
How To Uninstall hwinfo on Rocky Linux 8
To uninstall only the hwinfo package we can use the following command:
sudo dnf remove hwinfo
hwinfo Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/eb6682ee139ca4c06074765d3b4d9b95866224
/usr/lib/.build-id/27
/usr/lib/.build-id/27/cbbf27ade0105ca96f7239070ffa9836fa806b
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/be90fe6a0606339eaff3468f3e95644ce8d823
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/38dfd5816b10daaa2ef851db3f0a8fd34beb92
/usr/lib64/libhd.so.21
/usr/lib64/libhd.so.21.47
/usr/sbin/check_hd
/usr/sbin/convert_hd
/usr/sbin/getsysinfo
/usr/sbin/hwinfo
/usr/sbin/mk_isdnhwdb
/usr/share/doc/hwinfo
/usr/share/doc/hwinfo/MAINTAINER
/usr/share/doc/hwinfo/README-hwprobe.md
/usr/share/doc/hwinfo/README-legacy.md
/usr/share/doc/hwinfo/README.md
/usr/share/doc/hwinfo/specifications.md
/usr/share/hwinfo
/usr/share/hwinfo/ISDN.CDB.hwdb
/usr/share/hwinfo/ISDN.CDB.txt
/usr/share/licenses/hwinfo
/usr/share/licenses/hwinfo/COPYING
References
Summary
In this tutorial we learn how to install hwinfo on Rocky Linux 8 using yum and dnf.