views:

23

answers:

1

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.

+1  A: 

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


rpm2cpio rpmfile.rpm | cpio -idmv
loentar
thanks, that's just what i need.
joey

related questions