From owner-freebsd-questions@FreeBSD.ORG Tue Mar 18 22:15:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 221FF1065671 for ; Tue, 18 Mar 2008 22:15:18 +0000 (UTC) (envelope-from fbsd06+UE=42ad9e98@mlists.homeunix.com) Received: from turtle-out.mxes.net (turtle-out.mxes.net [216.86.168.191]) by mx1.freebsd.org (Postfix) with ESMTP id 0B32A8FC2F for ; Tue, 18 Mar 2008 22:15:17 +0000 (UTC) (envelope-from fbsd06+UE=42ad9e98@mlists.homeunix.com) Received: from mxout-04.mxes.net (mxout-04.mxes.net [216.86.168.179]) by turtle-in.mxes.net (Postfix) with ESMTP id 518F8164677 for ; Tue, 18 Mar 2008 17:46:16 -0400 (EDT) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 29864D05B7 for ; Tue, 18 Mar 2008 17:46:14 -0400 (EDT) Date: Tue, 18 Mar 2008 21:46:11 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20080318214611.3bf426e9@gumby.homeunix.com.> In-Reply-To: <47E0233C.5030208@brookes.ac.uk> References: <47E0233C.5030208@brookes.ac.uk> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: How to enable Linujx binary compatibility using sysinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Mar 2008 22:15:18 -0000 On Tue, 18 Mar 2008 20:17:00 +0000 Stephen Allen wrote: > Hello, > > After installing FreeBSD 7.0, I realised I'd forgotten to choose > Linux binary compatibility during the install. I tried installing > from ports, but it's gone and installed a load of other unwanted > packages aswell now (perl/popt/rpm etc...). > > So, a few questions really... > > 1. > Why does the ports install require all these other packages, when > none of these are installed if you remember to select the "Enable > Linux binary compatibility" option during install? They are dependencies of the particular application, or linux-base. "Linux binary compatibility" lets you run a statically-linked linux binary. Anything else requires a Linux environment, and whatever libraries etc the application needs. > 2. > If I wanted to install from sysinstall (like during an installation), > what do I do to enable Linux binary compatibility, without > reinstalling? I think it's just a matter of adding linux_enable="YES" to rc.conf. I also have linux_load="YES" in loader.conf, but I don't expect it's necessary, as the former setting should load the kernel module. > 3. > There are 6 Linux binary compatibility packages available, which is > the best one to use... fc4-10? The default will be a dependency of any linux package that needs it.