Mac Installer: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Mac =Overview= Installs .pkg files. To see the content: Installer → File → Show Files. To see the log: Command + L Package "receipts" ar...") |
|||
Line 4: | Line 4: | ||
=Overview= | =Overview= | ||
The installer command is used to install Mac OS X installer packages (.pkg or .mpkg files) to a specified domain or volume. The installer command installs a single package per invocation, which is specified with the -package parameter ( -pkg is accepted as a synonym). It may be either a single package or a metapackage. In the case of the metapackage, the packages which are part of the default install will be installed unless disqualified by a package's check tool(s). | |||
To see the content: Installer → File → Show Files. | To see the content: Installer → File → Show Files. | ||
Line 16: | Line 16: | ||
<syntaxhighlight lang='text'> | <syntaxhighlight lang='text'> | ||
lsbon -f /var/db/receipts/<package-name> | lsbon -f /var/db/receipts/<package-name> | ||
</syntaxhighlight> | |||
=Command Line Installation= | |||
<syntaxhighlight lang='bash'> | |||
installer -pkg /path/to/application.pkg -target | |||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 23:39, 29 December 2020
Internal
Overview
The installer command is used to install Mac OS X installer packages (.pkg or .mpkg files) to a specified domain or volume. The installer command installs a single package per invocation, which is specified with the -package parameter ( -pkg is accepted as a synonym). It may be either a single package or a metapackage. In the case of the metapackage, the packages which are part of the default install will be installed unless disqualified by a package's check tool(s).
To see the content: Installer → File → Show Files.
To see the log: Command + L
Package "receipts" are store in /var/db/receipts
To see where the file were put:
lsbon -f /var/db/receipts/<package-name>
Command Line Installation
installer -pkg /path/to/application.pkg -target