Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-06-2003, 10:01 PM   #1
LQ Newbie
Registered: Feb 2003
Posts: 3

Rep: Reputation: 0
Redhat 8.0: Problems installing RPMs

I have correctly installed two .bin file programs, but I am having trouble installing .rpm programs. Double clicking and putting in my root password doesn't work. It says "prepareing system updates" then two thirds of the way done it closes and nothing happens. I also tried installing in command line using these instructions:

I am not sure if my system settings are wrong. What should they be in order to do this?

Also, where can I find out how much memory and GB my computer is using?

Last edited by jimgray; 02-07-2003 at 05:33 AM.
Old 02-07-2003, 02:11 AM   #2
Senior Member
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
there shouldn't be any problems if you are working as Root.
To get to Root
Open terminal, type su then enter root password.
Then type rpm -i filename. ) where filename is name of rpm.

Some reasons for possible failure: incorrect build version of RPM, incorrect platform, if you use an i686 then don't try to install ppc.rpm's. But i386/586 are usually ok on 686's.

If you get RPM's with .src before the rpm then you need to do the following:
rpmbuild --rebuild filename

Then cd (change directory) to /usr/src/RPM/RPMS and look for newly built RPMS in one of the folders there.

Hope this helps.
Old 02-07-2003, 04:34 AM   #3
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
your rpms are probably getting installed fine, but nothing is suppose to happen. It's not like windoze setup.exe, when it finishes, it would give you ten wizards before you can start using yur program
Old 02-07-2003, 05:32 AM   #4
LQ Newbie
Registered: Feb 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Yes, these programs are .src.rpm files

If this is installed I have no idea where it is. It's not in the "/usr/src/RPM/RPMS" directory. I don't even have a directory with that name at the moment.

How do I know if I have a i686?

The command "rpm --rebuilddb filename" seemed to work, (and my eterminal took a few minutes to complete the command), but I don't see evidence of a successful install.

I worked on this for hours using tips from all over the internet. No one gives the same advice or commands... I realized one of my errors was due to the fact that the eterminal couldn't create certain folders (directories), so I decided to make the necessary directories myself. That seemed to fix certain errors.

The following advice didn't work because my eterminal doesn't understand the command "-bb" --

# rpm -ivh foo.src.rpm
# cd /usr/src/redhat/SPECS
# ls
# rpmbuild -bb --target i686 foo.spec
# cd ../RPMS/i686
# ls

Last edited by jimgray; 02-07-2003 at 05:34 AM.
Old 02-07-2003, 06:21 AM   #5
LQ Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
yes, now you have an i686.rpm, do as root:

rpm -Uvh foo.i686.rpm

it should give you a progress bar while it installs. That's it! Try running the program, if all went well. Redhat 8 has _very_ flaky gui support for rpms, best to use the command line for now.
Old 02-07-2003, 04:04 PM   #6
LQ Newbie
Registered: Feb 2003
Posts: 3

Original Poster
Rep: Reputation: 0
The "rpm -Uvh foo.i686.rpm" command works, but my file doesn't seem to be named foo.i666.rpm [And I know the foo stands for the file name]

I tried to use this command after rebuilding the file in the same directory as the original file. Is that how I am supposed to do it?
Old 02-08-2003, 01:08 AM   #7
LQ Newbie
Registered: Dec 2002
Distribution: Red Hat 8.0
Posts: 17

Rep: Reputation: 0
If anything, just install as root. Then you won't have that problem. That's what I do when RH8.0 screws me over with their bullshit


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
Problems when installing Redhat 9 Grofu Red Hat 2 09-07-2005 07:22 PM
problems with installing redhat 9.0 wogga Linux - Software 0 05-18-2004 01:02 PM
problems installing redhat 9; usb problems (I think) nhelseth Linux - Newbie 2 04-27-2004 05:17 PM
Problems installing RedHat Database 2.1 on Redhat Linux 9 bkimelman Linux - Software 0 10-18-2003 02:32 PM
Problems installing RedHat with XP MartinP Linux - Software 3 07-30-2002 12:26 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:58 PM.

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