CentOS: No package hwinfo available

Автор: | 02/08/2014
 

centos-logo-new-4В репозиториях:

# yum repolist
...
repo id repo name status
base CentOS-6 - Base 6,365+2
debug CentOS-6 - Debuginfo 3,100
elrepo ELRepo.org Community Enterprise Linux Repository - el6 309
epel Extra Packages for Enterprise Linux 6 - x86_64 10,913+86
epel-debuginfo Extra Packages for Enterprise Linux 6 - x86_64 - Debug 2,140+20
extras CentOS-6 - Extras 14
nginx nginx repo 59
rpmforge RHEL 6 - RPMforge.net - dag 4,704+14
rpmforge-extras RHEL 6 - RPMforge.net - extras 77+634
updates CentOS-6 - Updates 1,153

Пакета hwinfo нет.

Для его установки потребуется подключить ещё один репозиторий – Ghettoforge:

# rpm -Uvh http://mirror.symnds.com/distributions/gf/el/6/gf/x86_64/gf-release-6-6.gf.el6.noarch.rpm

Устанавливаем priority:

# cat /etc/yum.repos.d/gf.repo | grep priority=
priority=20
priority=20
priority=20
priority=20
priority=20
priority=20

Устанавливаем пакет:

# yum -y install hwinfo

И проверяем информацию о hardware:

# hwinfo --short --cpu
cpu:
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 2400 MHz