Use this command in terminal for check the list of package and uninstalled your files.
$ pkgutil --pkgs # list all installed packages
Once you've uninstalled the files, you can remove the receipt with:
$ sudo pkgutil --forget the-package-name.pkg
After visually inspecting the list of files you can do something like:
$ pkgutil --pkg-info the-package-name.pkg # check the location
$ cd / # assuming the package is rooted at /...
$ pkgutil --only-files --files the-package-name.pkg | tr '
' '' | xargs -n 1 -0 sudo rm -i
Be careful of this last step. The list of directories output by pkgutil --files
can include important shared directories like usr
, which you don't want to remove.
$ pkgutil --only-dirs --files the-package-name.pkg | tr '
' '' | xargs -n 1 -0 sudo rm -ir
Copied from here (Wayback Machine snapshot of the original)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…