Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
WildGazelle
V2EX  ›  Linux

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

  •  
  •   WildGazelle · Jun 15, 2018 · 2615 views
    This topic created in 2929 days ago, the information mentioned may be changed or developed.

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

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

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

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

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

    1 replies    2018-06-15 11:34:19 +08:00
    imkuang
        1
    imkuang  
       Jun 15, 2018 via Android
    好像不会删除所有的依赖,完全删除的话可以使用 yum history 命令回滚,具体可以看这个 https://xirik.cn/29.html
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   949 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 22:24 · PVG 06:24 · LAX 15:24 · JFK 18:24
    ♥ Do have faith in what you're doing.