[YLUG] extract from rpm

Nigel Metheringham nigel at dotdot.it
Fri Mar 11 16:10:16 UTC 2011


On 11 Mar 2011, at 15:49, Patrick Dupre wrote:

> I have a rpm file (that I can list). How can I extract a specific file
> from it (without installing the package) ?

Use rpm2cpio and send the results to cpio to extract the required files.

  rpm2cpio my.rpm | cpio -magic-parameters

rpm2cpio is part of the rpm package, and includes a man page.

	Nigel.
--
[ Nigel Metheringham ------------------------------ nigel at dotdot.it ]
[                 Ellipsis Intangible Technologies                  ]





More information about the York mailing list