Re: Postgresql-8.0.1

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

 



On Tue, 2005-02-08 at 12:35 -0600, Rodolfo J. Paiz wrote:
> On Mon, 2005-02-07 at 18:43 -0500, Robert L Cochran wrote:
> > Can someone tell me how to extract just one or two files from an RPM?
> > 
> 
> I believe cpio does this.

When used in conjunction with rpm2cpio (which there is a brief manpage
for).

Example:
$ rpm2cpio kernel-2.6.5-1.358.i586.rpm | cpio -i -d --no-absolute-
filenames '*advansys.ko'

which I used to extract
lib/modules/2.6.5-1.358/kernel/drivers/scsi/advansys.ko from
kernel-2.6.5-1.358.i586.rpm.

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux