[Yum] Feature request(s)

Klingaman, Aaron L aaron.l.klingaman at intel.com
Wed Oct 8 23:29:07 UTC 2003


> > 6) I want to grab a single file out of the rpm.
> 
> Then you don't want to install it, you want to download it.  wget is a
> lovely thing ;-)   Doing this in yum buys you nothing (except 
> extra code
> in yum)
> 

You want to look into rpm2cpio to get a file out of an rpm without
installing it:

rpm2cpio an-rpm.rpm > an-rpm.cpio
cpio -ivd < an-rpm.cpio

Aaron



More information about the Yum mailing list