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
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:
wget http://dag.wieers.com/packages/lshw/lshw-2.08-1.el4.rf.i386.rpm rpm -ivh lshw-2.08-1.el4.rf.i386.rpm