How To Install lshw-gui on Rocky Linux 8

In this tutorial we learn how to install lshw-gui on Rocky Linux 8. lshw-gui is Graphical hardware lister

Introduction

In this tutorial we learn how to install lshw-gui on Rocky Linux 8.

What is lshw-gui

Graphical frontend for the hardware lister (lshw) tool. If desired, hardware information can be saved to file in plain, XML or HTML format.

We can use yum or dnf to install lshw-gui on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install lshw-gui.

Install lshw-gui 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 lshw-gui using dnf by running the following command:

sudo dnf -y install lshw-gui

Install lshw-gui 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 lshw-gui using yum by running the following command:

sudo yum -y install lshw-gui

How To Uninstall lshw-gui on Rocky Linux 8

To uninstall only the lshw-gui package we can use the following command:

sudo dnf remove lshw-gui

lshw-gui Package Contents on Rocky Linux 8

/usr/bin/lshw-gui
/usr/lib/.build-id
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/5683c0d32c7a3764991f411f045961c16054ae
/usr/sbin/gtk-lshw
/usr/sbin/lshw-gui
/usr/share/appdata/gtk-lshw.appdata.xml
/usr/share/applications/gtk-lshw.desktop
/usr/share/licenses/lshw-gui
/usr/share/licenses/lshw-gui/COPYING
/usr/share/lshw
/usr/share/lshw/artwork
/usr/share/lshw/artwork/32.svg
/usr/share/lshw/artwork/64.svg
/usr/share/lshw/artwork/alpha.svg
/usr/share/lshw/artwork/amd.svg
/usr/share/lshw/artwork/audio.svg
/usr/share/lshw/artwork/battery.svg
/usr/share/lshw/artwork/bluetooth.svg
/usr/share/lshw/artwork/board.svg
/usr/share/lshw/artwork/cd.svg
/usr/share/lshw/artwork/chip.svg
/usr/share/lshw/artwork/cloud.svg
/usr/share/lshw/artwork/cpu.svg
/usr/share/lshw/artwork/desktopcomputer.svg
/usr/share/lshw/artwork/disabled.svg
/usr/share/lshw/artwork/disc.svg
/usr/share/lshw/artwork/display.svg
/usr/share/lshw/artwork/emac.svg
/usr/share/lshw/artwork/firewire.svg
/usr/share/lshw/artwork/intel.svg
/usr/share/lshw/artwork/laptop.svg
/usr/share/lshw/artwork/logo.svg
/usr/share/lshw/artwork/md.svg
/usr/share/lshw/artwork/memory.svg
/usr/share/lshw/artwork/mini.svg
/usr/share/lshw/artwork/mips.svg
/usr/share/lshw/artwork/modem.svg
/usr/share/lshw/artwork/motherboard.svg
/usr/share/lshw/artwork/network.svg
/usr/share/lshw/artwork/parallel.svg
/usr/share/lshw/artwork/parisc.svg
/usr/share/lshw/artwork/powermac.svg
/usr/share/lshw/artwork/powermacg5.svg
/usr/share/lshw/artwork/powerpc.svg
/usr/share/lshw/artwork/printer.svg
/usr/share/lshw/artwork/question.svg
/usr/share/lshw/artwork/radio.svg
/usr/share/lshw/artwork/scsi.svg
/usr/share/lshw/artwork/serial.svg
/usr/share/lshw/artwork/sparc.svg
/usr/share/lshw/artwork/tablet.svg
/usr/share/lshw/artwork/towercomputer.svg
/usr/share/lshw/artwork/usb.svg
/usr/share/lshw/artwork/wifi.svg
/usr/share/lshw/ui
/usr/share/lshw/ui/gtk-lshw.ui
/usr/share/pixmaps/gtk-lshw.svg
/usr/share/polkit-1/actions/org.ezix.lshw.gui.policy

References

Summary

In this tutorial we learn how to install lshw-gui on Rocky Linux 8 using yum and dnf.