centos - linux 卸载了软件之后 whereis firefox 还是可以看到
为情所困
为情所困 2017-04-25 09:01:14
[Linux讨论组]

使用的是 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 ~]#

如何才可以卸载干净。

为情所困
为情所困

全部回复(1)
过去多啦不再A梦

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

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号