在 CentOS 系统中,你可以使用以下命令来卸载 GCC:
yum list installed | grep gcc
yum remove gcc-4.8.5
yum remove gcc*
请注意,在卸载 GCC 之前,请确保没有其他软件包依赖于它,否则可能会导致系统不稳定。