Fw: [Ilugc] How to install src.rpm on linux

Binand Sethumadhavan binand at gmail.com
Wed Feb 8 00:16:23 IST 2006


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

Binand


More information about the ilugc mailing list