LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-10-2004, 02:46 PM   #1
mitu
LQ Newbie
 
Registered: Sep 2003
Posts: 9

Rep: Reputation: 0
Installation Problems using RPM


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!)
 
Old 07-10-2004, 03:13 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
Isn't it because you installed the source binutils (as it seems by the path /usr/src/redhat/SOURCES/ ... in theses lines)?

What is the output of
whereis binutils

Try to search and install a binary binutils.
 
Old 07-10-2004, 03:52 PM   #3
mitu
LQ Newbie
 
Registered: Sep 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by bruno buys
Isn't it because you installed the source binutils (as it seems by the path /usr/src/redhat/SOURCES/ ... in theses lines)?

What is the output of
whereis binutils

Try to search and install a binary binutils.

Ahhhh I see! Thanks very much, I've now tried downloading adifferent binutils rpm and things seem to work now!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installation RPM problems woodbury Linux - Software 9 07-08-2005 11:29 AM
RPM Installation and YAST Problems mellowdog SUSE / openSUSE 4 03-12-2005 06:50 AM
RPM Installation Problems chalasaniv Linux - Software 2 10-19-2004 04:28 AM
problems with rpm installation rstr Fedora 1 04-13-2004 05:52 PM
RPM installation problems mazyar28 Linux - Newbie 1 09-03-2003 03:10 AM


All times are GMT -5. The time now is 04:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration