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: mirror.averse.net
     * base: mirror.averse.net
     * extras: mirror.averse.net
     * updates: mirror.averse.net
    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
    =====================================================================================
    Removing:
     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
    
    Removed:
      gnome-games.i386 1:2.16.0-2.el5            joystick.i386 0:1.2.15-20.2.2
    
    Complete!
    
1 comment
  1. medinar
    medinar
    March 29, 2011 at 11:26 am

    hi there
    you’ve got 2 errors there

    /var/tmp/rpm-tmp.61118: line 2: gconftool-2: command not found
    /var/tmp/rpm-tmp.61118: line 4: gconftool-2: command not found

    well 3 in fact:

    error: %preun(gnome-games-2.16.0-2.el5.i386) scriptlet failed, exit status 127

    i’ve got the same issue .. actually it doesn’t remove gnome-games, i’m trying to find why

    thanks

    Reply
Leave a Reply

Your email address will not be published. Required fields are marked *

SiteGround.com

A world leading hosting company that provides fully-managed innovative and secure solutions, suitable for hosting small to medium-sized websites

Built on the best available technologies combined with Google Cloud for strong redundancy and application availability. Backed by skilled experts to address web security threats, a devops team to create advanced custom security solutions, and 24/7 sysadmins to watch over the platform. This powerful, hands-on approach makes your sites faster, safer, and easier to manage. Starting from only $3.95/mo.

TRY FREE

* up to 30 days money back guarantee