Extracting Files in an RPM File
Maybe I am missing something but I couldn't figure out how to extract files in RPM files with the rpm command. Use the handy-dandy rpm2cpio command. For example,
rpm2cpio rpmfile | cpio -iv
If you'd like to list the content of an RPM file, do the following:
rpm -qlp rpmfile
rpm2cpio rpmfile | cpio -iv
If you'd like to list the content of an RPM file, do the following:
rpm -qlp rpmfile

0 Comments:
Post a Comment
<< Home