Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 66812

.pkg files are used by Installer which is an application included in Mac OS X which extracts and installs files (usually application installs).

4 votes

How do you uninstall .pkg file?

If there are no uninstall packages or scripts provided by the app developer, then you can unpack the pkg file and see what's inside it. … An easier alternative is to use an app that can peek inside a .pkg and show you what files are copied where and what pre- and post-install scripts are run. …
ccpizza's user avatar
  • 3,135
9 votes

How can I install .pkg with a shell on macOS?

Install all .pkg files from the current folder to /Applications (or whatever target folder is configured in the package): for f in *.pkg; do sudo installer -verbose -pkg "$f" -target / done As an … ), and use quick preview from Finder when a .pkg file is selected. …
ccpizza's user avatar
  • 3,135