Hi,
I'm having major problems with using rpm to install packages (i.e. gcc and binutils) on my new RedHat 9 server.
i'm using the command in the following format:
rpm -ivh packagename.rpm.
Where packagename.rpm is the URL of the remote rpm file for binutil. This gives no errors. However, when I then try entering binutil at the prompt, I get the error
"-bash: binutil: command not found". Indeed, entering
rpm -q binutil tells me that
package binutil is not installed.
I've tried doing an
updatedb, but this doesn't seem to help. I've typed
locate binutil, which outputs the following:
Quote:
/usr/src/redhat/SOURCES/binutils-2.13.90.0.18-ia64-brl.patch
/usr/src/redhat/SOURCES/binutils-2.13.90.0.18-array-sects-compat.patch
/usr/src/redhat/SOURCES/binutils-2.13.90.0.18-20030206.patch.bz2
/usr/src/redhat/SOURCES/binutils-2.13.90.0.18-alpha-relax.patch
/usr/src/redhat/SOURCES/binutils-2.13.90.0.18-eh-frame-hdr.patch
/usr/src/redhat/SOURCES/binutils-2.13.90.0.18-compatsym.patch
/usr/src/redhat/SOURCES/binutils-2.13.90.0.18-libpath-suffix.patch
/usr/src/redhat/SOURCES/binutils-2.13.90.0.18-eh-frame-ro.patch
/usr/src/redhat/SOURCES/binutils-2.13.90.0.18-ld-r.patch
/usr/src/redhat/SOURCES/binutils-2.13.90.0.18-ltconfig-multilib.patch
/usr/src/redhat/SOURCES/binutils-2.13.90.0.18-ppc64-tls1.patch
/usr/src/redhat/SOURCES/binutils-2.13.90.0.18-ppc64-tls2.patch
/usr/src/redhat/SOURCES/binutils-2.13.90.0.18-s390-file-loc.patch
/usr/src/redhat/SOURCES/binutils-2.13.90.0.18-s390-noreladyn.patch
/usr/src/redhat/SOURCES/binutils-2.13.90.0.18-searchdir.patch
/usr/src/redhat/SOURCES/binutils-2.13.90.0.18-sparc-nonpic.patch
/usr/src/redhat/SOURCES/binutils-2.13.90.0.18-sub-same.patch
/usr/src/redhat/SOURCES/binutils-2.13.90.0.18.tar.bz2
/usr/src/redhat/SPECS/binutils.spec
|
Therefore, it looks like rpm is indeed unpacking the rpm into that location, but not actually installing it? What do I need to do?
I would of course go and manually build binutils myself from those files, but I don't have gcc installed yet either!
What can I do? Any help would be very much appreciated! Thanks in advance.
(Oh, and this is all on a remote server, so I can't use the RedHat CDs!)