Uninstall a application installed from a package .pkg file

If you install a application from .pkg file, it will be recorded into the /Library/Receipts/InstallHistory.plist. Open the file and search for the entry for the corresponding package, for example, I installed a package called Chef, open /Library/Receipts/InstallHistory.plist, you can find the entry:
com.getchef.pkg.chef is the bom file name in /private/var/db/receipts/com.getchef.pkg.chef.bom, run the following command:
lsbom -fls /private/var/db/receipts/com.getchef.pkg.chef.bom

see also

No comments:

Post a Comment