From owner-freebsd-questions@FreeBSD.ORG Mon May 12 14:30:30 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 1F81D1065676 for ; Mon, 12 May 2008 14:30:30 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id DDD888FC2B for ; Mon, 12 May 2008 14:30:29 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m4CERQuc030173; Mon, 12 May 2008 10:27:26 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m4CERQ3g030172; Mon, 12 May 2008 10:27:26 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 12 May 2008 10:27:26 -0400 From: Jerry McAllister To: Onkar Message-ID: <20080512142726.GB30075@gizmo.acns.msu.edu> References: <6933400d0805110639t2f19c220ja2fd788ba2b7c774@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6933400d0805110639t2f19c220ja2fd788ba2b7c774@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Dowloading entire source code 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: Mon, 12 May 2008 14:30:30 -0000 On Sun, May 11, 2008 at 07:09:03PM +0530, Onkar wrote: > I am a newbie to FreeBSD . I want ot downlod entire FreeBSD source code for > reference. Please let me know how do i go about it. If you are installing FreeBSD on a machine, then the easiest thing to do is just check source when you are selecting those things to install. That will install the entire source for FreeBSD in /usr/src/... The ports is a separate thing. You probably do not want to install the entire source for everything in the ports tree. That changes constantly anyway. Just install the ports tree and then csup it to update it to the latest. Then, you can get any port source you want by going to /usr/ports/whatever and downloading it from there. Downloading the source for a port can be very complicated because many of the ports have lots of dependancies which cause other ports to be pulled in. That is all handled by the make files in the ports tree. So, if you download, build and install a port by going to it in the ports tree and typing make clean make make install make clean It will download the necessary sources, including the dependancies, build them and install them. The sources will be left in the ports tree source files. ////jerry > > regards, > Onkar > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"