Subject: Re: rpm on NetBSD (Was: Re: Newbee help required)
To: Thomas Miller <thomas.miller@lycos.com>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-help
Date: 05/30/2001 14:31:45
On Wed, 30 May 2001, Thomas Miller wrote:
> Can Frederick's instructions be generalized for NetBSD-1.5 i386?
> Once the NetBSD rpm package and the NetBSD SuSE Linux emul package
> are installed and rpm --initdb is run, is it correct that
>
> # rpm -i --ignorearch --ignoreos --nodeps foo-version.i386.rpm
>
> is the way to install any Linux i386.rpm binary package on NetBSD-1.5 i386?
Works for me. Another possibility, with "-i", is to add "--root
/emul/linux", or "--root /usr/pkg/emul/linux", if you want to keep the
linux stuff contained, though for my own part I prefer to leave
/usr/pkg to the package system and put all my other junk in
/usr/local. "--root tmpdir" is also good to see what "rpm" is actually
going to do before you let it write all over your system.
If anyone can tell me if there's a way to accomplish the same as above
with a suitable "/etc/rpmrc" file, I would like to know.
Frederick