Fw: [Ilugc] How to install src.rpm on linux
Sivasankar Chander
siva.ilugc at gmail.com
Wed Feb 8 18:25:47 IST 2006
On 2/8/06, Binand Sethumadhavan <binand at gmail.com> wrote:
>
> On 07/02/06, Roshan Mathews <rmathews at gmail.com> wrote:
> > What I wanted to know if you can install srpms to another location (say
> > ~/code/) instead of the default /usr/src/ ... ?
>
> echo '%_topdir $HOME/code' >> ~/.rpmmacros
> mkdir -p ~/code/{SOURCES,SPECS,BUILD,SRPMS,RPMS}
> rpm -i fubar.src.rpm
+1
Also, if you want to rebuild the SRPMs in $HOME without root privs,
add:
echo '%_tmppath $HOME/tmp' >> ~/.rpmmacros
mkdir -p ~/tmp
-Siva
More information about the ilugc
mailing list