Homebrew seemed to have installed Command Line Tools when I was trying
ntfs-3g on Big Sur. I have since given up on this attempt to connect NTFS to my Mac.
Now I'm currently receiving prompts to update CLT for Xcode 12.5 (482.1 MB) from System Preferences. Since I have no use for it, I've been trying to uninstall it. I tried removing
/Library/Developer/CommandLineTools but the update prompts continue even after a reboot. I have restored the folder and
xcode-select -p now points to that folder again.
This older question for pre-Big Sur versions of Mac points out that I should check
pkgutil; did so and
pkgutil --pkgs shows that the receipts are still there. One of the comments on the first answer said that the folder for the receipts are not in
/Library/Receipts (and indeed they aren't), but in
/Library/Apple/System/Library/Receipts (and indeed they're there).
The accepted answer in the other question (I mentioned above) says that I should disable SIP and delete the
boms, then re-enable SIP. Another commenter said that I can remove the receipt files through Recovery Mode & Disk Utility, without disabling SIP. In Big Sur, though, that directory is protected by SSV. "Disabling" SSV forever through
csrutil just to delete some receipts seems like an utterly terrible idea.
So, a question:
- Since I can't seem to uninstall CLT cleanly via deleting the folder, and System Preferences still wants me to update even after deleting the folder, what is the best way to go about this uninstallation at all?