Linux.com

Author Message
Joined: Apr 30, 2008
Posts: 1
Other Topics
Posted Apr 30, 2008 at 7:19:30 PM
Subject: How to install Dmidecode

I am working on Red Hat 4 ES and i need to install Dmidecode. I have tried on the red hat network with no luck and searching the web. There are so many different packages that i am confused now. Does anyone know the proper RPM name to this ? Or any instructions on how to use up2date to download this package?

Back to top Profile Email Website
jhenkins
Joined May 01, 2008
Posts: 1

Other Topics
Posted: May 01, 2008 11:56:26 PM
Subject: 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!

Back to top Profile Email Website
BlackFail
Joined May 02, 2008
Posts: 6

Other Topics
Posted: May 02, 2008 2:09:57 AM
Subject: How to install Dmidecode

let me tell you the way to install ti successfully.

download it http://download.savannah.gnu.org/releases/dmidecode/dmidecode-2.9.tar.gz

then tar jxvf dmidecode-2.9.tar.gz
cd dmidecode-2.9

make
make install


so easy


good luck

Back to top Profile Email Website
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya