how to install rpm package to non-default path? [closed]
-
17-09-2020 - |
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.
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