Unix systems can uninstall installed programs through commands, but some users have problems when using the make uninstall command to uninstall the gdb debugging tool, and the uninstallation fails. The following editor will teach you how to uninstall the gdb debugging tool in Unix.
Something went wrong while installing the latest gdb a few days ago, and I want to uninstall it. After executing the "make uninstall" command, the following results appear:
bash-3.2# make uninstall
the uninstall target is not supported in this tree
It seems that gdb does not support uninstalling directly with the "make uninstall" command, so how to uninstall it?
Yikes.
A clumsy workaround is to cd into each subdir in the build tree and do
make uninstall there.
The only way is to enter each subdirectory and execute the "make uninstall" command separately.
This problem is mainly due to a bug in the uninstallation of the gdb debugging tool. If it is not repaired, you need to enter each subdirectory and execute the command to uninstall the gdb debugging tool.