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

如何才可以卸载干净。

阅读 6.3k
1 个回答

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

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进