Ask Your Question

yum group remove

asked 2012-04-29 14:16:55 -0500

ztank1013 gravatar image

Few days ago I installed KDE plasma desktop with the following command

yum groupinstall "KDE Software Compilation"

Tried it a little bit but then I decided to stay with Gnome 3 and removed it with the following command:

yum group remove "KDE Software Compilation"

The removal went well except that it removed more than the necessary, it removed for example the "gnome-terminal" package.

I could easily fix it rerunning the

yum groupinstall "GNOME Desktop Environment"

command but my doubt is: why did it happen?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-05-06 23:52:23 -0500

FranciscoD_ gravatar image

updated 2012-05-06 23:58:15 -0500

It gets removed because it gets pulled in as a dependency. The dependency chain is huge, auto generated, and it's difficult to customize with the number of package updates etc. The recommended way of trying out a group and removing it is using the yum history command.

yum history undo <transaction number>

will undo the transaction, not touching the other packages. This was the purpose of including this yum feature iirc.


As you'll see below:

[root@ankur ~]# yum groupinfo "KDE Software Compilation" | egrep -i terminal
[root@ankur ~]#

gnome-terminal is not a part of the group. It gets pulled in via the complex dependency chain between packages.

edit flag offensive delete link more


yum history list would give you that. man yum for more information.

FranciscoD_ gravatar imageFranciscoD_ ( 2012-05-07 01:50:59 -0500 )edit

I'm not going to give you everything. You should have read the related sections of the yum man page by now.

FranciscoD_ gravatar imageFranciscoD_ ( 2012-05-07 05:17:59 -0500 )edit

Question Tools

1 follower


Asked: 2012-04-29 14:16:55 -0500

Seen: 23,606 times

Last updated: May 06 '12