问题描述
使用的是 linux centos 7.先使用
yum -y install firefoxyum -y install httpd
然后卸载执行了:
yum remove firefoxyum remove httpd
然后用whereis 查看,却发现还是有:
[root@localhost ~]#[root@localhost ~]# whereis firefoxfirefox: /usr/lib64/firefox[root@localhost ~]# whereis httpdhttpd: /etc/httpd[root@localhost ~]#
如何才可以卸载干净。
问题解答
回答1:我测试了一下,yum在卸载httpd的时候报错了一下,提示了一个warning,不过继续执行成功,但残留了/etc/httpd目录,手动rm 删除它就可以了。同理可鉴Firefox