Question

i have a rpm package, and i need to extract some files from it. The package is not relocatable, i have try "rpm --root/--prefix", which doesn't work. what methods i should take to do the extraction?

Thank In Advace.

Was it helpful?

Solution

if You need to extract some file only, use this commands:


rpm2cpio rpmfile.rpm | cpio -idmv
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top