1. 通过yum 查看安裝后的路径

             Example:

  1.                         rpm -ql tomcat7 | cat -n  

 

2.删除命令

       例:rpm -e --nodeps 软件名

       如果出现依赖关系无法卸载,根据关系逐步卸载。