LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-11-2003, 05:32 AM   #1
gbanks
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Rep: Reputation: 0
rpm install to home directory


so i did an install of mandrake 9.1 with limited space on my hard disk (2 gigs) and my root partition is now 98% full. i still have a few things i want to install (codewarrior and some other development stuff) and i was hoping to do it in my home directory where i have around 750 mb of space left, however rpmdrake doesn't give me an option on where i would like to put the package i am installing. i'm not concerned with other users being able to use this software. is there any option from the commandline that i can use to specify a directory to install to, or am i screwed? thanks.

greg
 
Old 07-11-2003, 05:46 AM   #2
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Re: rpm install to home directory

Quote:
Originally posted by gbanks
so i did an install of mandrake 9.1 with limited space on my hard disk (2 gigs) and my root partition is now 98% full. i still have a few things i want to install (codewarrior and some other development stuff) and i was hoping to do it in my home directory where i have around 750 mb of space left, however rpmdrake doesn't give me an option on where i would like to put the package i am installing. i'm not concerned with other users being able to use this software. is there any option from the commandline that i can use to specify a directory to install to, or am i screwed? thanks.

greg
rpm -qpil packagename.rpm would give you where the files are going to be installed,I think that you need to resize your ext3 partition using parted or fdisk,though I would prefer the former.
Anyway for installing in a seperate partition you need to do many things(like change root ,symlink everything change environmental variables ,so I think that it would not be justified).
Also read the rpm2cpio manpage
http://man.linuxquestions.org/index....ction=0&type=2
here
 
Old 07-11-2003, 05:47 PM   #3
gbanks
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Original Poster
Rep: Reputation: 0
so can fdisk resize partions dynamically like partition magic? actually, i was looking at the partitioning of my disk from windows using partition magic, and for some reason it seems to think that both ext2 partitions are completely full, although there is about 90 mb free on my root partition and the 750 mb on my home partition. any reason why? thanks.

greg
 
Old 07-11-2003, 11:23 PM   #4
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
There is a utility called ext2resize
(man ext2resize)
http://ext2resize.sourceforge.net/
read this first
(since you are used to things like partition magic)
http://ext2resize.sourceforge.net/faq.html
tell me how it goes?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does a new install of 10.0 destroy my /home directory? rwhitworth SUSE / openSUSE 3 10-24-2005 03:55 PM
How do you install a new hard drive and make it the new /home directory??? anilnatha Linux - Hardware 4 08-02-2005 04:39 PM
How to install an RPM to a specific Directory GUIPenguin Linux - Newbie 4 08-30-2004 06:36 PM
RPM install directory? blizunt7 Linux - Newbie 2 04-02-2004 02:55 PM
Install RPM directory yenonn Linux - Software 1 06-30-2003 09:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:30 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
Open Source Consulting | Domain Registration