LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   rpm help (https://www.linuxquestions.org/questions/linux-software-2/rpm-help-217180/)

Ryan450 08-13-2004 11:33 AM

rpm help
 
hey guys,

I use mandrake linux 10.0 official, I've installed some games via rpm, but is there a way I can specify rpms to be installed into my /Home directory? it's all installing into the root directory, (which my setup intends to use to run the os from, /Home for storage/games etc..) is there a way I can change the default directory? or specify an option to install the rpm where I want it to go?

masand 08-13-2004 12:57 PM

i am not sure but u can try

rpm -ivh abc.rpm --prefix=/home/abcds

regards

Ryan450 08-18-2004 08:51 PM

that does it, but it doesnt work often (rpms are not relocatable)... if I compile the program from source code, can I stick it where-ever I want?

masand 08-18-2004 09:48 PM

hi
if u compile rpms frpm source code then they get installed in the
/usr/src/rpms
directory

i think to install rpms to ur locatioins ,u can make the dir. there as in rpms directory and delete the directories in /usr/src/rpms directory and create a symlink
between /usr/src/rpm --->ur directory
this a very vague mehod of doing things but u can give it a try if anything else does not work

regards
gaurav


All times are GMT -5. The time now is 10:52 PM.