Date: Sun, 11 May 2008 17:12:51 +0200 From: cpghost <cpghost@cordula.ws> To: Onkar <onkar.n.m@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Dowloading entire source code Message-ID: <20080511171251.2a664cec@epia-2.farid-hajji.net> In-Reply-To: <6933400d0805110639t2f19c220ja2fd788ba2b7c774@mail.gmail.com> References: <6933400d0805110639t2f19c220ja2fd788ba2b7c774@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 11 May 2008 19:09:03 +0530 Onkar <onkar.n.m@gmail.com> 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. Welcome to FreeBSD Onkar! ;-) While installing from CD, you have the option to extract the source code. If you've already installed FreeBSD and your /usr/src is empty or non-existent, you could always login as 'root', and re-run the installer with: # /usr/sbin/sysinstall Then go to "Configure" (Do post-install configuration of FreeBSD), then "Distribution" (Install additional distribution sets), and then check "src" (Sources for everything). You could figure out the rest yourself. ;) The sources you'll get will be unpacked under /usr/src and can be used to recompile the system (kernel and base system) as described in the Handbook. Later, you may want to upgrade your system. Typically, you'll use 'csup' (/usr/bin/csup) to fetch the newest sources from one of the FreeBSD CVSUP mirrors. This will update your sources in /usr/src. Then you'll compile everything into /usr/obj (a temporary holding area) as described in the Handbook (have a look at /usr/src/UPDATING, near the end), and move the compiled binaries from /usr/obj to where they belong (again: see the Handbook). > regards, > Onkar -cpghost. -- Cordula's Web. http://www.cordula.ws/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080511171251.2a664cec>