system administration - how to install rpm package to non-default path? -


I have an RPM package, and I need to remove some files from it. I package is not reinstallable, I try What is the "RPR-RT / - prefix", which does not work, what methods should I do to extraction?

Thanks in advance.

If you only need to remove some files, then use this command:

  rpm2cpio rpmfile.rpm | Cpio -idmv  

Comments