Tony Lin
Tony Lin

Reputation: 805

How to uninstall GDB on osx

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

Answers (1)

Alexander O'Mara
Alexander O'Mara

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

Related Questions