Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2001 15:50:53 -0800
From:      Kris Kennaway <kris@FreeBSD.ORG>
To:        Trevin Chow <tmchow@sfu.ca>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Linux compatability -- no what?
Message-ID:  <20010120155053.L53292@citusc17.usc.edu>
In-Reply-To: <Pine.GSO.4.30.0101201523040.29087-100000@fraser.sfu.ca>; from tmchow@sfu.ca on Sat, Jan 20, 2001 at 03:23:58PM -0800
References:  <Pine.GSO.4.30.0101201523040.29087-100000@fraser.sfu.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010120155053.L53292>