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

Re: How can i use rpm to retrive a specific file from a package?



On Fri, 2004-01-09 at 23:14, Alexander Dalloz wrote:
> Am Fr, den 09.01.2004 schrieb Technical um 23:07:
> > I want to recover the sendmail.mc file from the sendmail package.  How can
> > I get rpm to just give me that one file.  Thanks in advance
> 
> cpio2rpm sendmail.rpm | cpio -t   --> lists contents, maybe with path

I think you meant:

rpm2cpio sendmail.rpm | cpio -t

> cpio2rpm sendmail.rpm | cpio -ivd FILE

Again:

rpm2cpio sendmail.rpm | cpio -ivd FILE




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