How set the prefix when install a rpm using python.

Panu Matilainen pmatilai at laiskiainen.org
Thu Nov 24 05:58:47 UTC 2016


On 11/23/2016 07:08 PM, Jorge Cisneros wrote:
> Hi All
>
>
>   I using something similar to the follow example to install a rpm from
> python, and works fine. Now the problem that I have is how to change the
> prefix, something like rpm -i --prefix ....
>
>    Any ideas?

It's not supported. Never been, unlikely to ever be because the whole 
relocation thing is something we'd rather see banished rather than 
improved. Except that it's so widely used it's kinda impossible to 
remove it either.

	- Panu -



More information about the Rpm-list mailing list