MacOS/pkgutil

From Wikiversity
< MacOS(Redirected from Pkgutil)
Jump to navigation Jump to search

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 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[edit]