The preferred method for obtaining and maintaining the ports tree is Portsnap.
Users requiring local customization of ports (that is, maintaining additional local patches) will probably prefer to use Subversion directly.
This section provides basic instructions on using the Ports Collection to install or remove software.
The detailed description of available make targets and environment variables is available in ports. As of mid 2012, the Free BSD Ports Project has migrated revision control systems from CVS to Subversion.
Otherwise, manually obtain and place a copy of the distfile into /usr/ports/distfiles.
To begin, change to the directory of the port to be installed: Once you are returned to the prompt, you should be able to run the installed application.
The port does not include the actual source code, also known as a “distfile”.So is there an equivalent to the yum/yast/apt-get on the other Linux systems on Free BSD? What do I used to keep all the packages that I have current, like yum for Fedora 11? This command supports both updating with patches to the current release and upgrading to a new release. It's far easier than installing updates from source.Updating packages also has two pieces -- updating the ports tree, and rebuilding out-of-date ports.If ports-mgmt/portaudit) is installed, run portaudit -F before installing a new port, to fetch the current vulnerabilities database.A security audit and an update of the database will be performed during the daily security system check.The CVSup service is being phased out as of February 28, 2013, and further use is discouraged.