How to Remove Games and Entertainment in Linux

Linux is an open-source operating system that provides a wide range of features and functionalities. Sometimes, users may want to remove certain software groups, such as Games and Entertainment, to save disk space or improve system performance.

This guide will explain how to remove Games and Entertainment using the yum groupremove command.

Step 1:

Before removing any software groups, it is recommended to list all available groups using the yum grouplist command. This command will show a list of all the available software groups in your system. Open a terminal and enter the following command:

sudo yum grouplist

This will list all the available groups in your system. Look for the “Games and Entertainment” group and take note of the name.

See also  How to Install and Setup 389 Directory Server on CentOS 7

or type:

sudo yum grouplist | grep -i game

Games and Entertainment

Step 2:

Once you have identified the group name, you can use the yum groupremove command to remove it. Open a terminal and enter the following command:

sudo yum groupremove "Games and Entertainment"

This command will remove all packages related to the “Games and Entertainment” group, freeing up disk space and improving system performance.

After running the command, YUM will prompt you to confirm the removal of the selected group. Type ‘y’ and press Enter to confirm the removal.

sudo 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!

Step 4:

Once the removal process is complete, you can confirm that the “Games and Entertainment” group has been removed by running the yum grouplist command again.

See also  How to Resolve mount: mount point /cdrom does not exist

Commands Mentioned:

  • yum grouplist – List all available software groups in the system.
  • yum groupremove – Remove a specific software group and all related packages.

Conclusion:

In this guide, we have explained how to remove the “Games and Entertainment” group using the yum groupremove command. By following these steps, you can free up disk space and improve the performance of your Linux system.

If you have any comments or suggestions for improvements, feel free to share them below.

Comments

1 Comment

  • Avatar medinar says:

    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

Leave a Reply to medinar Cancel reply

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