Ports Description

The FreeBSD Ports and Packages Collection offers a simple way for users and administrators to install applications. The ports collection has been growing at a tremendous rate.

The Ports Collection supports the latest release on the FreeBSD-CURRENT and FreeBSD-STABLE branches. Older releases are not supported and may or may not work correctly with an up-to-date ports collection. Over time, changes to the ports collection may rely on features that are not present in older releases. Wherever convenient, we try not to gratuitously break support for recent releases, but it is sometimes unavoidable. When this occurs, patches contributed by the user community to maintain support for older releases will usually be committed.

// FIXME - This has been copy/pasted from original ports page, this is likely to change.

Using Packages / Ports

FreeBSD offers two ways to install additional third-party softwares.

// FIXME - blahblah

Using Packages

Using packages is quite straight-forward. FreeBSD base system includes a bunch of useful tools to deal with packages.

The first you'll use is pkg_add.

// FIXME - blahblah

Using Ports

3 main ways to play with ports :

Anonymous CVS

What is CVS

Pros and Cons

Installing CVS

CVS is in base system, so you don't have anything to do :-)

Using CVS

// FIXME - will write that later.

CVSup

What is CVSup

Pros and Cons

Installing CVSup

# pkg_add -r cvsup-without-gui

or if you want GUI support :

# pkg_add -r cvsup

Using CVSup

Portsnap

What is Portsnap

Pros and Cons

Installing Portsnap

# pkg_add -r portsnap

or if you already have a ports tree :

# cd /usr/ports/sysutils/portsnap
# make all install clean

Using Portsnap

Create the configuration file :

# cp /usr/local/etc/portsnap.conf.sample /usr/local/etc/portsnap.conf

Then you'll need to fetch a ports snapshot using portsnap's fetch command :

# portsnap fetch

Finally, you'll get your ports tree with :

# portsnap extract

When you'll want to update the tree, run :

# portsnap fetch
[...]
# portsnap update

Note: If you're interested in updating your ports tree regularly, you might want to look at portsnap's cron command.

PortEasy

==== What is PortEasy ===

Installing PortEasy

# pkg_add -r porteasy

or if you already have a ports tree :

# cd /usr/ports/ports-mgmt/porteasy
# make all install clean

Using PortEasy

// FIXME - Never used it, but seems quite cool.

CVSync

Useful Links

More Specific Links

PortsPageProposal (last edited 2009-12-11 10:07:49 by EitanAdler)