Re: Uninstall GDB 9.2 from manual installation

Jeffrey Walton via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAH8yC8m02Gdn9sP1jwv2Q=Ze7CZeRs=-UTbDXXNTUKrFieVLmw@mail.gmail.com>
On Tue, Oct 5, 2021 at 10:55 AM Hillary Barder via Gdb
<[email protected]> wrote:
>
> Hello GDB developer team,
>
> I have installed an old version of GDB from *https://ftp.gnu.org/gnu/gdb/
> <https://ftp.gnu.org/gnu/gdb/>*. Then I simply ran
> ./configure
> make
> sudo make install
>
> 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!

If GDB is the only thing in /usr/local, then you can perform a 'rm -rf
/usr/local/*' followed by a `hash -r' to clear the program cache.

Otherwise, perform the 'make uninstall' as suggested by Shahab.

Jeff
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.