Install .pkg Software Installation Files
Old Post
This post is over two years old. Content may be out of date.
The installer
utility can be used to install .pkg software installation files from the command line:
installer -pkg /path/to/pkg/software/installation/file.pkg -target /