[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rpm question
>>I have executed rpm on a package file with
>>rpm -qpl ./xxx-ver.rpm
>>it gives me a list of files it contains quite well.
>Wish I had known that earlier. I've been trying to compile programs
>that require particular versions of utilities which are imbedded in rpm
>files. Can one do this on an uninstalled rpm? Should read the rpm man pages,
>I know.
>>For the life of me I can't find in the man page what the command is to
>>extract a file from this rpm. Can anyone help.
>>I'm looking for something like:
>>rpm -?p? ./packagefilename filetoextract locationtoextract
>>I'm sure I remember this is possible. Thanks in advance.
>Looking forward to responses, Ralph deal@kzoo.edu
I think what you want is rpm2cpio, which converts an RPM into a simple CPIO
archive you can extract/inject files from/to with the cpio command.
Systems and Network Administrator
Morrison Industries
1825 Monroe Ave NW.
Grand Rapids, MI. 49505