Results 1 to 6 of 6
hi all
how to specify the $HOME path in spec file,
to install the files in $HOME..
is it possible..
if yes,
please tell me the way..
am very glad ...
- 08-22-2007 #1Linux Newbie
- Join Date
- Feb 2007
- Location
- hyderabad, india
- Posts
- 247
install rpm in $HOME path
hi all
how to specify the $HOME path in spec file,
to install the files in $HOME..
is it possible..
if yes,
please tell me the way..
am very glad to send an appropriate spec file..
coz, i read some spec file nobudy given the path of $HOME...
please help me
thank you in advance"Relationships are built on trust and communication"
- 08-26-2007 #2Linux Newbie
- Join Date
- Dec 2005
- Location
- Toronto
- Posts
- 127
Are you trying to install an rpm in your home directory (is that what you really want) or is it that you writing a spec file by yourself and want to know how you can refer to user's home directory ?
- 08-30-2007 #3Linux Newbie
- Join Date
- Feb 2007
- Location
- hyderabad, india
- Posts
- 247
- 08-30-2007 #4
You can use the --root flag if you want to install an rpm to a different prefix. More info is in the rpm manual.
- 08-30-2007 #5Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Remember that the rpm database is only accessable by root, so this might not be a viable method.
- 08-31-2007 #6


Reply With Quote
