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 | # From "https://unix.stackexchange.com/questions/4664/open-a-rpm-on-a-mac": |
Now you will find the extracted directories/files in your current directory.