首页 >社区问答列表 >centos - linux 卸载了软件之后 whereis firefox 还是可以看到

centos - 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 ~]#

如何才可以卸载干净。

  • 过去多啦不再A梦
  • 过去多啦不再A梦    2017-04-25 09:03:141楼

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

    +0添加回复

  • 回复