[Yum] how to specify directory for yum installation

James Antill james-yum at and.org
Wed Jun 22 15:31:15 UTC 2011


Erming Pei <erming at ualberta.ca> writes:

>  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.

 --installroot does specify the _root_ directory. If you want to
specify the --prefix, you can't do that.

-- 
James Antill -- james at and.org


More information about the Yum mailing list