$ pkgutil --pkgs # list all installed packages $ pkgutil --files the-package-name.pkg # list installed files $ sudo pkgutil --forget the-package-name.pkg