Create account Login Webmail Contact Us

How to install Ports in FreeBSD
Posted by Mike C. on 12 September 2009 12:08 AM
To install ports in FreeBSD you will first need to create a file called ports-supfile by doing the following:

1) # cd /root

2) # mkdir sup

3) # cd sup

4) ee ports-supfile

5) Copy and paste the following in to the ports-supfile:

* default
* default base=/usr
* default prefix=/usr
* default release=cvs tag=.
* default delete use-rel-suffix


You will then save and exit the file

6) # pkg_add -r cvsup-without-gui

7) # /usr/local/bin/cvsup -g -L 2 ports-supfile

This will take awhile so please allow it about 20 - 30 minutes to completely download and update. If the process gives you an error like "server is busy please try again in such and such a time" don't worry because thousands of people rely on these servers to get their updated ports tree. It will automatically retry so no need to hurry it along by canceling the process and starting all over again.
(427 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name: