LinuxQuestions.org
Register a domain and help support LQ
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 10-03-2003, 09:47 AM   #1
mothman
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
please help i cant install rpms


first of all let me apologize i am total noobie, the rim on my redhat is still so so small...
ok here is what i do
i have a old 400 celeron as my learning linux machine.

i downloaded all three redhat9 shrike iso image files for i386

i burned the images the correct way with nero
i begin to install and everything is running smoothly
i installed the basic (no office or server)
when everything installs fine the system reboots and
i come to a login screen
from the bottom i select session/default and type in root with my password.
then i downloaded the rpm redhat linux manuals from
xxx.redhat.com/docs/manuals/linux/

i burn it on a cd as is, from my windows machine
i then put the disc in my linux machine and i copy the contents
of the cd to the /root directory
i open the root directory and
i am trying to install a rpm so i
go to the "redhat"(at the bottom of the screen)
then the "run command"
i type in
"rpm -i rhl-ig-x86-en-9-2.noarch.rpm" and
"rpm -ivh rhl-ig-x86-en-9-2.noarch.rpm" without the ""
so nothing happens
then i test another rpm from here:
xxx.updates.redhat.com/6.2/en/os/i386/ghostscript-6.51-16.1.6x.1.i386.rpm
i burn and copy the contents of the cd to the /root directory and open the directory in a new window
open the run command and type in
"rpm -i ghostscript-6.51-16.1.6x.1.i386.rpm" and
"rpm -ivh ghostscript-6.51-16.1.6x.1.i386.rpm" without the ""
and nothing happens
when i go into the /root and i right click try to open with/install package
it says "installation tree not found" the path /mnt/cdrom does not look like a valid installation directory.

arggghh what am i doing wrong i cant seem to install anything
what am i missing, i have searched and searched for days and all the manuals and websites say this should be working...
can anyone help,

BTW, i failed to mention that when i do the rpm command the computer is busy doing something but i get nothing on the screen and nothing changes.
when i click on system settings/add remove programs i get the "installations tree not found" message as above.
 
Old 10-03-2003, 10:52 AM   #2
ocularbob
Member
 
Registered: Nov 2002
Location: brooklyn NYC
Distribution: gentoo
Posts: 212

Rep: Reputation: 30
it sounds like one of the directories that rpm searches to see what it has to do is incorectly set to /mnt/cdrom when it should be / or /usr i think. Also there is a pretty good chance that docs were installed already or are on the install discs you burned. Now that you are running you shouldnt need to go back to windows just to download a file use mozilla or any other browser on your redhat system.
finnally if you have a new install that is being strange you might as well just reinstall and see if things work out better, but i don't know much about whats going on there so that might not be the best thing.

open up package selection from the menu and see if the docs pakage is on the list. I don't use redhat so im not sure exactly where things are but there is an easy way to install pakages from the cd's, i think it's called "pakage selection"
sorry for being so vauge
let us know what you find out.
 
Old 10-03-2003, 11:22 AM   #3
ocularbob
Member
 
Registered: Nov 2002
Location: brooklyn NYC
Distribution: gentoo
Posts: 212

Rep: Reputation: 30
i know what is wrong! maybe

open a terminal.
do

cd /root

then run rpm -ivh


when you run a command on a file without the full path ie

file.rpm instead of /root/file.rpm

you must run the command from the dir where the file is.

id say don't ever use the "run command" thing just open a terminal and do it from there.
 
Old 10-03-2003, 02:46 PM   #4
mothman
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Original Poster
Rep: Reputation: 0
wow, you guys are great
i have already tried to reistall everything from scratch
but your suggestion did work..i will stay away from the run command and am using the terminal window.. thank you, i can now install packages but i am still getting the cdrom is not a valid installation when i try the add remove programs...but i am a step closer.
 
Old 10-03-2003, 02:56 PM   #5
ocularbob
Member
 
Registered: Nov 2002
Location: brooklyn NYC
Distribution: gentoo
Posts: 212

Rep: Reputation: 30
it is looking for one of the install discs in the cdrom drive. if there were a disc in there it would then list all the packages on that disc. to install from a file on a hardrive just use rpm from the command line like you did.
have fun
 
  


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
RH 9 rpms will not install l4azyslaxxor Linux - Newbie 8 06-17-2004 04:58 PM
Can't install RPMs puppy Fedora 1 05-26-2004 07:08 PM
Can't install rpms!! Jojo87 Linux - Newbie 1 02-10-2004 01:22 PM
where do the rpms install ooagentbender Linux - Newbie 3 12-16-2003 05:19 AM
How to install RPMs? gmichel Linux - Newbie 10 09-28-2003 09:30 PM


All times are GMT -5. The time now is 11:02 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