pkgutil
is a command line tool to query and manipulate Mac OS X Installer packages and receipts.
Basic commands
edit- List of packages:
pkgutil --packages
orpkgutil --pkgs
- List of files from a package:
pkgutil --files package_name
- Package owner of a file:
pkgutil --file-info /usr/sbin/pkgutil
See also
edit- homebrew
lsbom
- MacPorts