Install lshw on RHEL, Fedora, Centos

The easiest way to install lshw on a RedHat based system is to get the package from DAG:
If you already have the DAG repository in your sources, just use

up2date lshw


yum install lshw

based on what package management tool you are using.

If not, just download the appropriate package for your operating system (for centos use the appropriate rhel base version) and install it manually with rpm. For example on a Centos4 i386 system I would use:

rpm -ivh lshw-2.08-1.el4.rf.i386.rpm

Was this post helpful?