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:

# From "":
cat protobuf25.cpio | cpio -id

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