Re: Uninstall GDB 9.2 from manual installation
Shahab Vahedi via Gdb <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Emily, On Tue, Oct 05, 2021 at 10:54:20AM -0400, Hillary Barder via Gdb wrote: > to install GDB 9.2 to /usr/local/bin on my Mac. Right now I want to > completely remove this old version, because it crash my problem and > consumes 100% CPU sometimes. Could you please tell me how to uninstall it > in my case? Thank you so much! Assuming that you still have the build directory available, your very first bet _would be_: $ cd /path/to/build $ make uninstall the uninstall target is not supported in this tree Then this is what I suggest as a workaround: Build GDB 9.2 again, but this time install it in a path that is new and no other files reside in: $ cd /path/to/build $ /path/to/src/binutils/configure ... --prefix=/local/pristine/path ... $ make $ make install # no root permission is needed Now, enlist all the files installed in that path and (manually) remove their counter part on your system: $ find /local/pristine/path /local/pristine/path/usr/bin/gdb # remove "/usr/bin/gdb" /local/pristine/path/usr/share/doc/... # ... Cheers, Shahab