Extract, but not install rpm

Paul Howarth paul at city-fan.org
Mon Jan 23 16:25:53 UTC 2006


J. K. Cliburn wrote:
> Is there a way to extract the contents of an rpm file (to, say, a temp
> directory) without actually installing it?  I'd like to look at the
> source code of a particular module driver that's bound up in the rpm,
> but I don't want to install the kernel source -- probably wouldn't
> work anyway since I'm working from a cygwin host right now.

# yum install fedora-rpmdevtools
$ fedora-extract package-version-release.rpm

Extracts to a directory package-version-release of the current directory.

Paul.




More information about the fedora-list mailing list