Reputation: 805
I want to uninstall GDB on my MAC. I tried to remove the folder /usr/local/bin/gdb, but when I install it again, it says already installed. Does anybody know how? thanks.
Upvotes: 3
Views: 5918
Reputation: 60527
To remove GDB from Homebrew, you should use brew rm gdb
. Simply removing the /usr/local/bin/gdb
symlink will still leave the formula built, just not linked. You generally shouldn't try to remove Homebrew files manually. Homebrew is a package manager, so let the package manager handle it.
Upvotes: 5