LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-04-2003, 01:53 AM   #1
Rv5
Member
 
Registered: Sep 2003
Distribution: RedHat9
Posts: 114

Rep: Reputation: 15
Cant Install Off CD! Other Ways?


well i think the cd drive in my laptop is on its last legs. i managed to get the os on there, but i cant install any packages through the application manager. is there anyway i can install them without having to use my cd drive?
 
Old 09-04-2003, 03:49 AM   #2
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
Hi

Well all u need is either download the file via internet or your network if u have a network. Once the file or rpm is on your drive goto the folder where the file is allocated and type in the following cmd
rpm -q package-to-intsall.
This cmd will help u to view if u have this rpm installed. If u have the rpm or package then type rpm -Uvh package-to-intsall, this cmd will update to a newer version. If the package or rpm does not exsit then type rpm -Ivh package-to-intsall.

make sure that u login as root and of course this is done in terminal.

Cheers
 
Old 09-04-2003, 12:26 PM   #3
Rv5
Member
 
Registered: Sep 2003
Distribution: RedHat9
Posts: 114

Original Poster
Rep: Reputation: 15
great, thanks for the advice. i was actually able to get most of the stuff i wanted off the cd, but i can tell its gonna die any time now. does this trick work for the image files though? or do i decompress the image onto the drive?
 
Old 09-04-2003, 01:35 PM   #4
drthornt
Member
 
Registered: May 2001
Location: Toronto
Distribution: RH 7.2
Posts: 33

Rep: Reputation: 15
rpmfind.net is your friend.
get everything you need, updates, alterations, standard, option.

they have this great search feature.
 
Old 09-04-2003, 01:53 PM   #5
jhibbets
Red Hat
 
Registered: Sep 2003
Location: Raleigh, NC
Distribution: Red Hat Enterprise Linux v 2.1, v 3, v 4
Posts: 174

Rep: Reputation: 30
Here is the trick your looking for:

mkdir /mnt/loop
mount -o loop name_of_image_file.img /mnt/loop
cd /mnt/loop

NOTES: you may have to rename and image file to a img.gz extension and unzip it first, depends how/wehere you got the image from.

he shoots he scores!

Example:
[root@special-ed Images]# ls
2.1as-dd-megaraid-i686.img Pensacola-2.1AS-i386-disc1.iso
[root@special-ed Images]# mount -o loop Pensacola-2.1AS-i386-disc1.iso /mnt/loop
[root@special-ed Images]# cd /mnt/loop
[root@special-ed loop]# ls
autorun COPYING images README.ja RELEASE-NOTES RPM-GPG-KEY
boot.cat dosutils README RedHat RELEASE-NOTES.ja TRANS.TBL
 
Old 09-04-2003, 02:20 PM   #6
Rv5
Member
 
Registered: Sep 2003
Distribution: RedHat9
Posts: 114

Original Poster
Rep: Reputation: 15
excellent. definitely gonna print out this info. thanks a bunch guys. starting to under linux better every day
 
  


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
7 ways to install Kguitar... Normanya Linux - Software 6 01-16-2006 07:13 AM
piping both ways? quinton Linux - Newbie 3 09-20-2004 07:10 PM
2 ways to install Gnome into Mepis '03 jhecht Linux - Software 0 08-06-2004 01:24 PM
rpm versus other ways to install rsarson Linux - Software 7 05-14-2003 05:05 PM
Ways to Partition? cclavey Linux - Newbie 2 03-12-2003 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:02 AM.

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
Open Source Consulting | Domain Registration