Once you've uninstalled the files, you can remove the system record of that package: $ sudo pkgutil -forget package-name.pkg But some people will need to tweak the command line, so it's better to be clear!) $ pkgutil -only-dirs -files package-name.pkg | tr '\n' '\0' | xargs -n 1 -0 -p sudo rmdir (You should be safe with rmdir too, because it will only remove empty directories. p causes xargs to prompt for confirmation, but don't get trigger-happy. The list of directories output by pkgutil -files can include important shared directories like usr, which you don't want to remove. $ pkgutil -only-files -files package-name.pkg | tr '\n' '\0' | xargs -n 1 -0 -p sudo rmīe careful of the next (final) step, which removes directories. Use this to list the package's installed files: $ pkgutil -files package-name.pkgĪfter visually inspecting the list of files you can do something like this to remove them: $ cd / # assuming the package location is / To find the package location (the root directory that all file listings will be relative to), use $ pkgutil -pkg-info package-name.pkg I'm modifying answer, which didn't work for me.Īt a command line, use the following to find the desired package name: $ pkgutil -pkgs | grep -i is a string you expect to see in the package name.