How to install Dmidecode
Author Message
Posted : Wed, 30 April 2008 19:19:30
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?
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!
BlackFail
Posted : Fri, 02 May 2008 02:09:57
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