How to uninstall gcc?

Peng Yu
Sun Sep 6 03:05:00 GMT 2009

On Sat, Sep 5, 2009 at 9:55 PM, Peng Yu<> wrote:
> Hi,
> I have been trying to uninstall gcc. But uninstall target in Makefile
> does not do anything. I am wondering how to uninstall gcc.
> uninstall:
>   @echo "the uninstall target is not supported in this tree"


I searched the mailing list. It seems that I can't uninstall it unless
I have a list of all installed files, because I didn't install gcc in
a separate directory. Can somebody kindly generate a list of files of
gcc-4.3.4 that have been installed in his/her system so that I can use
this information to remove gcc? My OS information is listed below.


$ cat  /etc/redhat-release
CentOS release 5 (Final)
$ uname -a
Linux selenium.cluster 2.6.18-53.1.13.el5 #1 SMP Tue Feb 12 13:02:30
EST 2008 x86_64 GNU/Linux
$ dmesg | grep gcc
Linux version 2.6.18-53.1.13.el5 ( (gcc
version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Tue Feb 12 13:02:30
EST 2008

More information about the Gcc-help mailing list