Friday, January 12, 2018

Extract files from RPM file

1. View files from rpm package file:

rpm -qlp ./path/to/test.rpm

2. Extract files from valid rpm package file:

rpm2cpio ./packagecloud-test-1.1-1.x86_64.rpm | cpio -idmv

No comments:

Post a Comment