Extract, but not install rpm
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Mon Jan 23 16:33:56 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.
>
Take a look at rpm2cpio.
Chances are, the source code is in the source RPM. When you install
a source RPM, it puts the files in the proper directories in the
RPM directory tree. (/usr/src/RPM for root)
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
More information about the fedora-list
mailing list