[NBLUG/talk] Extracting a file from a rpm
Todd Cary
todd at aristesoftware.com
Fri Apr 1 06:13:42 PST 2005
Eric -
Many thanks. Worked as advertised. I needed the file for the
instllation of Thunderbird on FC3.
Todd
Eric Eisenhart wrote:
>On Thu, Mar 31, 2005 at 07:17:47AM -0800, Todd Cary wrote:
>
>
>>I have xorg-x11-deprecated-libs-6.8.1-12.i386.rpm on my system and I
>>need libXp.so.6. What is the syntax to get this file from the rpm?
>>
>>
>
>Well, usually it's best to install the entire RPM with something like
>"rpm -ihv" or "rpm -Uhv".
>
>But assuming that you really need to extract just one single file from an
>RPM, try running this in /tmp (or someplace else where a bunch of
>directories being created is harmless):
>rpm2cpio xorg-x11-deprecated-libs-6.8.1-12.i386.rpm | cpio -idv *libXp.so*
>
>
>
More information about the talk
mailing list