參考:https://blog.csdn.net/qq_45316173/article/details/122018354 卸載舊版本rpm -q gcc rpm -e [上一步查到的版本號(hào)] 執(zhí)行上面一條命令可能會(huì)報(bào)錯(cuò),卸載失敗:error: Failed dependencies: gcc = 4.4.7-23.el6 is needed by (installed) gcc-c++-4.4.7-23.el6.x86_64 gcc = ...[繼續(xù)閱讀]