首页 > linux 卸载了软件之后 whereis firefox 还是可以看到

linux 卸载了软件之后 whereis firefox 还是可以看到

使用的是 linux centos 7.
先使用

yum -y install firefox
yum -y install httpd

然后卸载执行了:

yum remove firefox
yum remove httpd

然后用whereis 查看,却发现还是有:

[root@localhost ~]#
[root@localhost ~]# whereis firefox
firefox: /usr/lib64/firefox
[root@localhost ~]# whereis httpd
httpd: /etc/httpd
[root@localhost ~]#

如何才可以卸载干净。


我测试了一下,yum在卸载httpd的时候报错了一下,提示了一个warning,不过继续执行成功,但残留了/etc/httpd目录,手动rm 删除它就可以了。同理可鉴Firefox

【热门文章】
【热门文章】