|
jhenkins
|
Posted : Thu, 01 May 2008 23:56:26
Subject :
Re: How to install Dmidecode
Hi prodigygirl96,
I've search around a bit, and cannot find dmidecode for specifically RHEL4-based products. However, you will find that it's available for RHEL5. Unfortunately you cannot install RHEL5 packages on RHEL4, but an option open to you would be to download the source RPM for dmidecode and to compile it yourself. This is actually very easy if you haven't done it before. I assume that you have the development tools installed that would be needed to do this. Here are the basic outlay of the process:
(1) Download the source rpm:
# wget ftp://ftp.pbone.net/mirror/ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/dmidecode-2.7-1.28.2.el5.src.rpm
(2) Install the source RPM:
# rpm -i dmidecode-2.7-1.28.2.el5.src.rpm
(3) Change to the spec directory:
# cd /usr/src/redhat/SPECS
(4) Build yourself an RPM:
# rpmbuild -bb dmidecode.spec
When this is finished, you should have two RPM packages here:
/usr/src/redhat/RPMS/i386/dmidecode-2.7-1.28.2.i386.rpm
and
/usr/src/redhat/RPMS/i386/dmidecode-debuginfo-2.7-1.28.2.i386.rpm
You only really need to install the first one.
Hope this helps!
|