Octo Performance Engineering

Tuesday, November 21, 2006

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

0 Comments:

Post a Comment

<< Home