how to specify directory for yum installation

Erming Pei <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
  Hi,

  Does anyone know about that how to specify root directory for yum 
installation?
I tried with putting $_prefix in .rpmmacros, but it doesn't work.
  And yum --installroot option seems not the solution too.


Thanks,

Erming
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.