1.查找要卸载的软件 以erlang为例 rpm -qa | grep erlang
如果已安装会列出信息
2.rpm -e --nodeps erlang-21.1.1-1.el7.centos.x86_64
完成