Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2000 20:54:50 -0400
From:      Jan Knepper <jan@smartsoft.cc>
To:        rob <europax@home.com>
Cc:        Fabien DERUDDER <fderudder@lrt.be>, igorr@crosswinds.net, freebsd-questions@FreeBSD.ORG
Subject:   Re: How to extract/install a Linux .rpm file
Message-ID:  <39BED05A.21D9055E@smartsoft.cc>
References:  <A5B07B66A23ADD419A5542C0A7709665011065@dove.LRT.LOCAL> <39BE6CA9.E7DD0D4C@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yeah, I actually learned that the hard way as well.
I first tried to use rpm2cpio <file.rpm> as the instructions said, which
didn't work of course. However a couple of print's later I knew what what
wrong and piped the output to cpio and got my stuff.

So to use rpm2cpio <file.rpm> you really need to do:

rpm2cpio <file.rpm> | cpio <flags>

Don't worry, be Kneppie!
Jan



rob wrote:

> Perhaps this why my first and only attempt to use rpm2cpio failed.  When
> I tried it, it crashed my machine and automatically rebooted.  I never
> did find a core.  Rob.
>
> Fabien DERUDDER wrote:
> >
> > Yes but... I think rpm2cpio should be 'brandelfed'for Linux and then
> > moved to the /compat/linux/usr/bin, and then installing the rpm should
> > be done this way : /compat/linux/usr/bin/rpm2cpio yourrpm.rpm | (cd
> > /compat/linux; cpio --extract --make-directories --verbose
> > --unconditional).
> > If there are some Linux libraries included, /compat/linux/sbin/ldconfig
> >
> > Fabien Derudder
> > http://www.brainbench.com/transcript.jsp?pid=1327867
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

--
Jan Knepper
Smartsoft, LLC
88 Petersburg Road
Petersburg, NJ 08270
U.S.A.

http://www.smartsoft.cc/
http://www.mp3.com/pianoprincess

Phone : 609-628-4260
FAX   : 609-628-1267
FAX   : 303-845-6415 http://www.fax4free.com/

Phone : 020-873-3837 http://www.xoip.nl/ (Dutch)
FAX   : 020-873-3837 http://www.xoip.nl/ (Dutch)

In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <forsythe@alum.mit.edu>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39BED05A.21D9055E>