2 Installing the CUPS Print Server

CUPS can be installed from ports or by using a precompiled binary package. To install CUPS from ports, issue the following command from a root terminal:

# cd /usr/ports/print/cups && make install clean

To install CUPS using a precompiled binary, issue the following command from a root terminal:

# pkg_add -r cups

Other optional, but recommended, ports or packages are print/gutenprint-cups and print/hplip, both of which add drivers and utilities for a variety of printers. Once installed, the CUPS configuration files can be found in the directory /usr/local/etc/cups.