ITPub博客

首页 > IT基础架构 > 网络安全 > 提取rpm文件内容

提取rpm文件内容

原创 网络安全 作者:qqmengxue 时间:2012-01-31 15:27:29 0 删除 编辑

Quickest way to get going would be to use rpm2cpio

rpm2cpio package.rpm > package.cpio

cpio -idumv < package.cpio

That last op will create a tree containing folders and files that come with the package. You could do a dry run in /tmp and copy everything into place, or, alternatively (and might I add, at your own risk) run it in "/" so that the files are copied into the correct locations. You might also need to add any custom library paths to /etc/ld.so.[d | conf] and run ldconfig.

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10130206/viewspace-1057217/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-03-26

  • 博文量
    169
  • 访问量
    589150