2018-07-20

Extract files from RPM

To extract all files from an RPM, put the RPM into an empty directory, cd into that directory and run the following command:

$ rpm2cpio ./my.rpm | cpio -idmv

This will unpack the RPM inside the empty directory you created.

No comments:

Post a Comment