how to 'rip apart' a rpm.

Genes MailLists lists at sapience.com
Sat May 15 15:25:59 UTC 2010


On 05/15/2010 11:22 AM, reg at dwf.com wrote:
> I want to look at the individual files in a src rpm.
> How do I 'rip it apart' ??
> Doing an install doesnt seem to be the answer, It does something, but I
> have no idea where the bits and pieces are going.
> They are NOT in /usr/src/redhat nor in /root/rpmbuild.


 Here's one way - just unpack the rpm and look whats in it:

  mkdir foobar
  cd foobar
  rpm2cpio - < foo.rpm | cpio --extract --no-absolute-filenames \
--make-directories



More information about the users mailing list