< MacOS

pkgutil is a command line tool to query and manipulate Mac OS X Installer packages and receipts.


Basic commands

  • List of packages: pkgutil --packages or pkgutil --pkgs
  • List of files from a package: pkgutil --files package_name
  • Package owner of a file: pkgutil --file-info /usr/sbin/pkgutil

See also

This article is issued from Wikiversity. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.