Installing Ports in FreeBSD

You can follow the steps below to install Ports on a FreeBSD 6.1 version.

1) Login to server as root.

2) Check if you have the binary /usr/local/bin/cvsup installed on the server. If not installed,

# fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/6.0-RELEASE/packages/net/
cvsup-without-gui-16.1h_2.tbz
cvsup-without-gui-16.1h_2.tbz 100% of 754 kB 37 kBps 00m00s
# pkg_add cvsup-without-gui-16.1h_2.tbz

3) Create a file /usr/src/cvs-supfile to upgrade lastest update of FreeBSD 6.0. This is my cvs-supfile add the entries below

#For complete list of cvsupd see CVSup Sites on FreeBSD handbook.
*default host=cvsup12.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs
*default delete use-rel-suffix
*default tag=RELENG_6_0

*default compress
src-all
ports-all tag=.

4) Run cvsup ,It will take a while to fetch both src and ports tree.

# /usr/local/bin/cvsup -L2 /usr/src/cvs-supfile

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.