TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:2898] One file from a RPM



On Mon, 21 Dec 1998, Bob Tanner wrote:

> Anyone I can extract just 1 file from an rpm?
> 
> I do not want to install the whole package.

Try this.

# rpm2cpio fname.rpm | cpio -id *file_you_want

This will create a subdirectory containing file_you_want.  The star before
the filename is there to match the path.

good luck,
Chris