From owner-freebsd-questions Sat Jan 20 15:48: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from citusc17.usc.edu (citusc17.usc.edu [128.125.38.177]) by hub.freebsd.org (Postfix) with ESMTP id BE27637B401 for ; Sat, 20 Jan 2001 15:47:46 -0800 (PST) Received: (from kris@localhost) by citusc17.usc.edu (8.11.1/8.11.1) id f0KNorY54259; Sat, 20 Jan 2001 15:50:53 -0800 (PST) (envelope-from kris) Date: Sat, 20 Jan 2001 15:50:53 -0800 From: Kris Kennaway To: Trevin Chow Cc: questions@FreeBSD.ORG Subject: Re: Linux compatability -- no what? Message-ID: <20010120155053.L53292@citusc17.usc.edu> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="iAzLNm1y1mIRgolD" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from tmchow@sfu.ca on Sat, Jan 20, 2001 at 03:23:58PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --iAzLNm1y1mIRgolD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 20, 2001 at 03:23:58PM -0800, Trevin Chow wrote: > I've installed Linux compatibility under 4.2-Stable, > but now I'm wondering how to go about instsalling linux > programs. I'd like to install the latest JDK since > the freebsd port is a bit old. You mean one of these? mollari# ls -ld /usr/ports/java/linux* drwxr-xr-x 4 root wheel 512 Jan 12 17:39 /usr/ports/java/linux-jdk drwxr-xr-x 4 root wheel 512 Jan 12 17:39 /usr/ports/java/linux-jdk13 :-) Anyway, to answer your question in general, linux binaries can be installed anywhere and they will just work. However linux libraries and other "support files" which might conflict with a FreeBSD native version should go in the relevant place in /compat/linux. For a Linux binary, when it tries to access a file /foo/bar, it will first check for /compat/linux/foo/bar and use that one if found, otherwise falling back to the true /foo/bar. There is more information about this in the handbook. Kris --=20 NOTE: To fetch an updated copy of my GPG key which has not expired, finger kris@FreeBSD.org --iAzLNm1y1mIRgolD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6aiRcWry0BWjoQKURAoneAKD2Ap9M2Bv2JtFCmgDQ2kRJJz9GKQCg/jNx YYXwuuJxDcJnipKj6vQl6Y0= =SYGO -----END PGP SIGNATURE----- --iAzLNm1y1mIRgolD-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message