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 

Attachment: 00000001.mimetmp
Description: PGP signature

-- 
KPLUG-List@kernel-panic.org
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to