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? |
i am not sure but u can try
rpm -ivh abc.rpm --prefix=/home/abcds regards |
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?
|
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. |