Howto Installing FreeBSD 9 source

1. Download the tar file that matches the version you installed.
i386: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/9.0-RELEASE/src.txz
amd64: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/9.0-RELEASE/src.txz

Unpack the archive to /usr/src:
# tar -C / -xvzf src.txz

Be aware that this will only get you the code for FreeBSD-9.0-RELEASE, not anything that has been added since then.

2. svn(1)
SVN (Subversion) is a newer source control system. It is not part of the base system, so install devel/subversion. Then check out the source:
# svn checkout svn://svn.freebsd.org/base/releng/9.0/ /usr/src
Other versions will have different URLs, like svn://svn.freebsd.org/base/stable/9/ for 9-STABLE. svn includes a larger history and can take up to twice the amount of disk space as a CVS checkout.

See the Handbook SVN mirror list for alternate servers which may be faster for you.

By tony

自由軟體愛好者~喜歡不斷的思考各種問題,有新的事物都會想去學習嘗試 做實驗並熱衷研究 沒有所謂頂天的技術 只有謙虛及不斷的學習 精進專業,本站主要以分享系統及網路相關知識、資源而建立。 Github http://stnet253.github.io

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料