Use rpm2cpio.  for example...

rpm2cpio logrotate-1.0-1.i386.rpm | cpio -ivd /usr/man/man8/logrotate.8

for the file logrotate.8

I hope this is helpful.

- Linh Huynh -

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ashley M. Kirchner
Sent: Friday, February 15, 2002 1:07 PM
To: Red Hat Mailing List
Subject: Extracting from RPM?



    How can I extract one single file from an rpm?

--
W | I haven't lost my mind; it's backed up on tape somewhere.
  +--------------------------------------------------------------------
  Ashley M. Kirchner <mailto:[EMAIL PROTECTED]>   .   303.442.6410 x130
  IT Director / SysAdmin / WebSmith             .     800.441.3873 x130
  Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave. #6
  http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to