3

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.

Wangrui
  • 167
  • 2
  • 11

1 Answers1

11

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


rpm2cpio rpmfile.rpm | cpio -idmv
loentar
  • 5,111
  • 1
  • 24
  • 25