Red Hat This forum is for the discussion of Red Hat Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-04-2003, 01:53 AM
|
#1
|
Member
Registered: Sep 2003
Distribution: RedHat9
Posts: 114
Rep:
|
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?
|
|
|
09-04-2003, 03:49 AM
|
#2
|
Member
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622
Rep:
|
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
|
|
|
09-04-2003, 12:26 PM
|
#3
|
Member
Registered: Sep 2003
Distribution: RedHat9
Posts: 114
Original Poster
Rep:
|
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?
|
|
|
09-04-2003, 01:35 PM
|
#4
|
Member
Registered: May 2001
Location: Toronto
Distribution: RH 7.2
Posts: 33
Rep:
|
rpmfind.net is your friend.
get everything you need, updates, alterations, standard, option.
they have this great search feature.
|
|
|
09-04-2003, 01:53 PM
|
#5
|
Red Hat
Registered: Sep 2003
Location: Raleigh, NC
Distribution: Red Hat Enterprise Linux v 2.1, v 3, v 4
Posts: 174
Rep:
|
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
|
|
|
09-04-2003, 02:20 PM
|
#6
|
Member
Registered: Sep 2003
Distribution: RedHat9
Posts: 114
Original Poster
Rep:
|
excellent. definitely gonna print out this info. thanks a bunch guys. starting to under linux better every day
|
|
|
All times are GMT -5. The time now is 07:02 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|