先查找要卸载的rpm包:比如cpp;
#rpm -qa | grep cpp
#rpm -e cpp-2.333x.x
如果提示有依赖,执行:
#rpm -e cpp-2222 --nodeps
先查找要卸载的rpm包:比如cpp;
#rpm -qa | grep cpp
#rpm -e cpp-2.333x.x
如果提示有依赖,执行:
#rpm -e cpp-2222 --nodeps
转载于:https://www.cnblogs.com/hxyphp/p/4235940.html