[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Partial rpm -i



Eli Marmor <marmor@elmar.co.il> writes:

> 
> ::::::::::::::
> /tmp/mm.a28136
> ::::::::::::::
> Hi all,
> I RTFM, but didn't find anyhting:
> How can I extract a specific file from an RPM?
> 
> The only method I found, was to create a temporary directory, use
> --prefix, and then move the specific file to its real location,
> instead of the old. But it is not convenience, and supports only
> relocatable RPMs.
> 

rpm2cpio < PACKAGE.rpm | cpio OPTIONS_TO_EXTRACT_SINGLE_FILE_GOD_KNOWS_WHICH_ONES_I_HATE_CPIO_TAR_IS_WAY_BETTER

-- 
Alexander L. Belikoff
Bloomberg LP / BFM Financial Research Ltd.
abel@bfr.co.il