how to install rpm package to non-default path? [closed]

狂风中的少年 提交于 2019-12-06 08:20:54

问题


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:


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


rpm2cpio rpmfile.rpm | cpio -idmv


来源:https://stackoverflow.com/questions/3280696/how-to-install-rpm-package-to-non-default-path

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!