freebsd 소스 다운로드

2010.09.11 17:48

가을의 곰을... 조회 수:11505

[출처] http://rhyous.com/2009/12/25/how-to-download-freebsd-current-or-freebsd-stable-using-svn/

How to download FreeBSD-Current or FreeBSD-Stable using svn?

Filed under: FreeBSD — rhyous @ 1:00 am
Tags: , , , ,
i
Rate This

Quantcast

How to download FreeBSD-Current or FreeBSD-STABLE using svn?

The goal of this article is to help users who want to get started developing on FreeBSD and want to contribute code fixes/changes/enhancements to FreeBSD. I really try to be “newbie” proof, so even a newbie can do this, so if you think I am stating the obvious, then skip what you already know.

The first thing you need to do in order to work on FreeBSD code is to download the FreeBSD code itself.

Step 1 – You need a FreeBSD install

Following one of these d0cuments:
How do I install FreeBSD?
or if you want a FreeBSD install with a desktop as well:
How to install and configure a FreeBSD 8 Desktop with Xorg and KDE?

Step 2 – Make sure that the FreeBSD version of Subversion is installed
If you built a FreeBSD 8 Desktop as described above, you probably already have Subversion installed but it is the wrong version. You should install the subversion-freebsd port as described on the wiki:
http://wiki.freebsd.org/SubversionPrimer#head-d0af2380587f2e6b75285c1aa2db931b23698ab7

  1. Check if subversion is installed with this command:

    $ pkg_info |grep subversion

  2. If subversion (not subversion-freebsd) is installed, uninstall it.
    #
    #
    cd /usr/ports/devel/subversion
    make deinstall
  3. If it is not installed, install it.

    By package:

    # pkg_add -r subversion-freebsd

    By port:

    #
    #
    cd /usr/ports/devel/subversion-freebsd
    make install
  4. Step 3 - Choose/Create a location to store the source

    While you could download to /usr/src where source is usually installed, you may want to maintain multiple versions of code, such as head, stable/8, and stable/7 or even more. So lets create a folder other than source for all of these.

    1. Access a shell (also called a command prompt or terminal).

    2. Create a directory that is in a partition that has plenty of space. I have all my space in /usr (where my home directory /usr/home/jared resides) and other partitions are small so I am going to create a folder in my home directory.
    3. Make a directory to store your source. I am just calling my directory Devel, but you can name yours whatever you would like.

      $ mkdir Devel

    4. Now change to your new directory.

      $ cd Devel

      You are now read to use svn to check out the source.

      Step 4 - List or browse the repository so you know what to checkout

      1. List what is in the svn base.

        $ svn list svn://svn.freebsd.org/base

      2. Now list what is in head.

        경축! 아무것도 안하여 에스천사게임즈가 새로운 모습으로 재오픈 하였습니다.
        어린이용이며, 설치가 필요없는 브라우저 게임입니다.
        https://s1004games.com

        $ svn list svn://svn.freebsd.org/base/head

      3. Now list what is in stable.

        $ svn list svn://svn.freebsd.org/base/stable

        You should now have a good idea of how to browse the svn repository from the command line and determine what to download.

        Step 5 - Obtaining source for FreeBSD-Current (which could become FreeBSD 9

        1. To download head or FreeBSD-Current, run the following command.

          $ svn checkout svn://svn.freebsd.org/base/head

        2. Wait for your source to download.
        3. Yes, it was that easy if you can believe it.
          You will have the following directory containing source for head: /usr/home/jared/Devel/head

          Step 6 - Obtaining source for FreeBSD-STABLE

          1. To download stable or FreeBSD-STABLE, run the following command.

            $ svn checkout svn://svn.freebsd.org/base/stable/8

          2. Wait for your source to download.
          3. You will have the following directory containing source for head: /usr/home/jared/Devel/8

            Step 7 - Updating /usr/src using subversion-freebsd

            1. To update /usr/src you need root access, so su to root.
            2. To download head or FreeBSD-Current, run the following command.

              # svn checkout svn://svn.freebsd.org/base/head /usr/src

            3. Wait for your source to download.

            4. Copyright ?? Rhyous.com - Linking to this article is allowed without permission and as many as ten lines of this article can be used along with this link. Any other use of this article is allowed only by permission of Rhyous.com.

본 웹사이트는 광고를 포함하고 있습니다.
광고 클릭에서 발생하는 수익금은 모두 웹사이트 서버의 유지 및 관리, 그리고 기술 콘텐츠 향상을 위해 쓰여집니다.

댓글 0

목록
번호 제목 글쓴이 날짜 조회 수
38 소스인사이트 단축키 가을의 곰을... 2010.10.08 12093
37 Unix (유닉스) 프로그래밍 관련 지침문서. 가을의 곰을... 2010.09.18 8696
36 유닉스 데몬 서버 프로그래밍 / Unix Daemon Server Programming file 가을의 곰을... 2010.09.17 11468
» freebsd 소스 다운로드 file 가을의 곰을... 2010.09.11 11505
34 가상 리눅스 file 가을의 곰을... 2010.09.11 8528
33 QEMU로 시스템 에뮬레이션하기 file 가을의 곰을... 2010.09.11 9957
32 안드로이드 포팅 file 가을의 곰을... 2010.09.05 8939
31 [이슈포커스] HTML5의 특장점 file 가을의 곰을... 2010.09.05 12139
30 REAL TARGET BOARD 없이 안드로이드 포팅기술 익히기 file 가을의 곰을... 2010.09.03 12739
29 Android 빌드하여 AVD 생성 및 시뮬에 올리기 file 가을의 곰을... 2010.08.15 17065
28 우분투 새키모음 반복 오류 해결 가을의 곰을... 2010.08.10 14341
27 ubuntu에서 tcl/tk 설치 가을의 곰을... 2010.08.08 25365
26 ubuntu에서 wxPython 설치하기 가을의 곰을... 2010.08.08 19853
25 우분투에서 리눅스 커널 프로그래밍 / Linux kernel programming on Ubuntu 가을의 곰을... 2010.08.07 14540
24 리눅스 커널 프로그래밍 가을의 곰을... 2010.08.07 10087
23 2차원 배열 동적 할당 가을의 곰을... 2010.07.21 10942
22 Android 전체 소스코드 빌드 file 가을의 곰을... 2010.06.26 10156
21 아이폰 어플의 수익성 리포트 (아이폰 어플로 돈벌기) 가을의 곰을... 2010.06.20 8713
20 아이폰 어플리케이션으로 돈을 벌 수 있을까 ? file 가을의 곰을... 2010.06.20 10296
19 VMWare에서 해킨토시 10.6.xxx 설치하기 가을의 곰을... 2010.06.05 14248
대표 김성준 주소 : 경기 용인 분당수지 U타워 등록번호 : 142-07-27414
통신판매업 신고 : 제2012-용인수지-0185호 출판업 신고 : 수지구청 제 123호 개인정보보호최고책임자 : 김성준 sjkim70@stechstar.com
대표전화 : 010-4589-2193 [fax] 02-6280-1294 COPYRIGHT(C) stechstar.com ALL RIGHTS RESERVED