How do I extract the contents of an rpm?

前端 未结 14 1888

I have an rpm and I want to treat it like a tarball. I want to extract the contents into a directory so I can inspect the contents. I am familiar with the querying commands

相关标签:
14条回答
  • 2020-12-12 10:39

    7-zip understands most kinds of archives, including rpm and the included cpio.

    0 讨论(0)
  • 2020-12-12 10:44

    In OpenSuse at least, the unrpm command comes with the build package.

    In a suitable directory (because this is an archive bomb):

    unrpm file.rpm
    
    0 讨论(0)
提交回复
热议问题