For uninstalling things, pkgutil is a useful tool to know about. You can list all installed packages with pkgutil --pkgs and uninstall them by doing pkgutil --unlink pkgid
I wondered for a long time how to uninstall packages from OS X until I discovered pkgutil.
I wondered for a long time how to uninstall packages from OS X until I discovered pkgutil.