V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
WildGazelle
V2EX  ›  Linux

请教一个 Linux 包依赖关系的小白问题

  •  
  •   WildGazelle · 2018-06-15 10:50:44 +08:00 · 1828 次点击
    这是一个创建于 2113 天前的主题,其中的信息可能已经有所发展或是发生改变。

    情况是这样的,我在一台 CentOS 上用以下方法安装了 GNOME:

    yum groupinstall "X Window System"
    yum groupinstall "GNOME"
    

    现在我想要删除掉桌面环境,如果直接用

    yum groupremove "GNOME"
    yum groupremove "X Window System"
    

    是不是会删除掉所有 GNOME 中的包,包括其他程序需要的依赖? 有什么安全的方法卸载掉桌面环境吗?

    1 条回复    2018-06-15 11:34:19 +08:00
    xiri
        1
    xiri  
       2018-06-15 11:34:19 +08:00 via Android
    好像不会删除所有的依赖,完全删除的话可以使用 yum history 命令回滚,具体可以看这个 https://xirik.cn/29.html
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   934 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 20:53 · PVG 04:53 · LAX 13:53 · JFK 16:53
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.