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:
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!)