April 6, 2014

How to install hwinfo (hardware information tool) on Fedora 20

Hwinfo - Hardware Information Tool
Hwinfo is a command line utility to probe and gather information about hardware components on a system in a easy to read format. It was initially a opensuse specific tool that was later compiled for other systems like Debian, Fedora, Arch etc.
Hwinfo is not available in the Fedora repositories, and neither is it present in any of the popular 3rd party repositories like repoforge or rpmfusion.
Install Hwinfo on Fedora
Here we are going to install hwinfo on Fedora 20. The hwinfo rpm packages for Fedora are available on the opensuse site at the following hidden place
http://download.opensuse.org/repositories/home:/zhonghuaren/

The repository file can be found here
http://download.opensuse.org/repositories/home:/zhonghuaren/Fedora_20/ho...
The above repository needs to be added to Fedora in a repo file at the following location
/etc/yum.repos.d/rpm-sphere.repo
Use the wget command to download the repo file directly to the yum directory.
$ sudo wget http://download.opensuse.org/repositories/home:/zhonghuaren/Fedora_20/ho... -O /etc/yum.repos.d/rpm-sphere.repo
Or manually create and fill /etc/yum.repos.d/rpm-sphere.repo with the following

name=RPM Sphere (Fedora_20)
type=rpm-md
baseurl=http://download.opensuse.org/repositories/home:/zhonghuaren/Fedora_20/
gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/home:/zhonghuaren/Fedora_20/re...
enabled=1
Hwinfo rpms are also available in another repository found here
http://download.opensuse.org/repositories/home:/darkhado/
Update yum cache and install hwinfo
After adding the repository information, all that is left is to update the yum cache and install the package hwinfo.
$ yum list hwinfo
$ yum install hwinfo
Run hwinfo
After the installation completes, run and test the hwinfo command
$ hwinfo...

Read full post here
How to install hwinfo (hardware information tool) on Fedora 20

Read more at Binary Tides