mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-15 04:50:40 +03:00
20 lines
486 B
Markdown
20 lines
486 B
Markdown
# pkgutil
|
|
|
|
> Query and manipulate Mac OS X Installer packages and receipts.
|
|
|
|
- List package IDs for all installed packages:
|
|
|
|
`pkgutil --pkgs`
|
|
|
|
- Verify cryptographic signatures of a package file:
|
|
|
|
`pkgutil --check-signature {{path/to/filename.pkg}}`
|
|
|
|
- List all the files for an installed package given its ID:
|
|
|
|
`pkgutil --files {{com.microsoft.Word}}`
|
|
|
|
- Extract the contents of a package file into a directory:
|
|
|
|
`pkgutil --expand-full {{path/to/filename.pkg}} {{path/to/directory}}`
|