How to Remove Games and Entertainment in Linux

When you installing CentOS, game also included in the the Operating system. Apart from the Games and Entertainment section there were games that were present in the gnome-games. However, there is the simple way to trace and remove this game. Please use below command:

[root@server ~]# yum grouplist | grep -i game
   Games and Entertainment
[root@server ~]# yum groupremove "Games and Entertainment"
Loaded plugins: fastestmirror
Setting up Group Process
Loading mirror speeds from cached hostfile
 * addons:
 * base:
 * extras:
 * updates:
Resolving Dependencies
--> Running transaction check
---> Package gnome-games.i386 1:2.16.0-2.el5 set to be erased
---> Package joystick.i386 0:1.2.15-20.2.2 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

 Package              Arch          Version                 Repository          Size
 gnome-games          i386          1:2.16.0-2.el5          installed           19 M
 joystick             i386          1.2.15-20.2.2           installed           93 k

Transaction Summary
Remove        2 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
/var/tmp/rpm-tmp.61118: line 2: gconftool-2: command not found
/var/tmp/rpm-tmp.61118: line 4: gconftool-2: command not found
  Erasing        : joystick                                                      1/2
error: %preun(gnome-games-2.16.0-2.el5.i386) scriptlet failed, exit status 127

  gnome-games.i386 1:2.16.0-2.el5            joystick.i386 0:1.2.15-20.2.2