daily pastebin goal
83%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ pkgutil --pkgs # list all installed packages
  2. $ pkgutil --files the-package-name.pkg # list installed files
  3.    
  4. $ pkgutil --pkg-info the-package-name.pkg # check the location
  5. $ cd / # assuming the package is rooted at /...
  6. $ pkgutil --only-files --files the-package-name.pkg | tr 'n' '' | xargs -n 1 -0 sudo rm -f
  7. $ pkgutil --only-dirs --files the-package-name.pkg | tail -r | tr 'n' '' | xargs -n 1 -0 sudo rmdir
  8.    
  9. $ sudo pkgutil --forget the-package-name.pkg
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top