Gangmax Blog

Check RPM Content on Mac

On Mac I want to check the content of a RPM file, how to do it?

First you can extract the cpio file in the RPM file by any unzip tool like “Dr.Unarchiver“, such as “protobuf25.cpio”.

Then run the following command:

1
2
# From "https://unix.stackexchange.com/questions/4664/open-a-rpm-on-a-mac":
cat protobuf25.cpio | cpio -id

Now you will find the extracted directories/files in your current directory.

Comments