How do I extract the contents of an rpm?

前端 未结 14 1884

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:17

    In NixOS, there is rpmextract. It is a wrapper around rpm2cpio, exactly as @Alan Evangelista wanted. https://github.com/NixOS/nixpkgs/tree/master/pkgs/tools/archivers/rpmextract

提交回复
热议问题