Re: Unpack RPM file?
On Fri, 29 Apr 2005 13:55:24 -0700 John Oliver <[EMAIL PROTECTED]> wrote: > How would one extract the contents of an RPM file without actually > installing it? You can install an rpm to an arbitrary root directory (e.g. targetdir) placing the package files under targetdir and the rpm database in the targetdir/var/rpm directory with something like: rpm -ivh --nodeps --relocate /=targetdir --root=targetdir package.rpm Dave Looney -- Those are my principles. If you don't like them I have others. - Groucho Marx pgpNNo3RotVRY.pgp Description: PGP signature -- KPLUG-List@kernel-panic.org http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
Re: Unpack RPM file?
On Fri, 29 Apr 2005 13:55:24 -0700 John Oliver <[EMAIL PROTECTED]> wrote: > How would one extract the contents of an RPM file without actually > installing it? You can install an rpm to an arbitrary root directory (e.g. targetdir) placing the package files under targetdir and the rpm database in the targetdir/var/rpm directory with something like: rpm -ivh --nodeps --relocate /=targetdir --root=targetdir package.rpm Dave Looney -- Those are my principles. If you don't like them I have others. - Groucho Marx 0001.mimetmp Description: PGP signature -- KPLUG-List@kernel-panic.org http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
Re: Unpack RPM file?
On Friday 29 April 2005 01:55 pm, John Oliver wrote: > How would one extract the contents of an RPM file without actually > installing it? rpm2cpio is the tool you'd need, to turn the RPM file into a CPIO stream, which you then pipe through cpio to extract to disk. Gregory -- Gregory K. Ruiz-Ade <[EMAIL PROTECTED]> OpenPGP Key ID: EAF4844B keyserver: pgpkeys.mit.edu pgpqpMQIc7Hzu.pgp Description: PGP signature -- KPLUG-List@kernel-panic.org http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
Re: Unpack RPM file?
John Oliver wrote: How would one extract the contents of an RPM file without actually installing it? http://www.kalamazoolinux.org/presentations/19990831/ -- "It gets late early out there." -- Referring to the bad sun conditions in left field at the stadium. --Yogi Bera -- KPLUG-List@kernel-panic.org http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list