Difference between revisions of "Pkgutil"

From wikieduonline
Jump to navigation Jump to search
(Created page with "<code>pkgutil</code> is a command line tool to query and manipulate Mac OS X Installer packages and receipts. == Basic commands == * List of packages: <code>pkgutil --packa...")
 
Line 9: Line 9:
 
== See also ==
 
== See also ==
 
* [[homebrew]]
 
* [[homebrew]]
* <code>lsbom</code>
+
* <code>lsbom</code><ref>https://ss64.com/osx/lsbom.html</ref> List the contents of an installer's bom (bill of materials) file
  
  

Revision as of 09:10, 16 December 2019

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

  • homebrew
  • lsbom[1] List the contents of an installer's bom (bill of materials) file

Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.

Source: https://en.wikiversity.org/wiki/MacOS/pkgutil

Advertising: