How To Install gnuchess on CentOS 7

In this tutorial we learn how to install gnuchess on CentOS 7. gnuchess is The GNU chess program

Introduction

In this tutorial we learn how to install gnuchess on CentOS 7.

What is gnuchess

The gnuchess package contains the GNU chess program. By default, GNU chess uses a curses text-based interface. Alternatively, GNU chess can be used in conjunction with the xboard user interface and the X Window System for play using a graphical chess board. Install the gnuchess package if you would like to play chess on your computer. If you’d like to use a graphical interface with GNU chess, you’ll also need to install the xboard package and the X Window System.

We can use yum or dnf to install gnuchess on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install gnuchess.

Install gnuchess on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install gnuchess using yum by running the following command:

sudo yum -y install gnuchess

Install gnuchess on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install gnuchess using dnf by running the following command:

sudo dnf -y install gnuchess

How To Uninstall gnuchess on CentOS 7

To uninstall only the gnuchess package we can use the following command:

sudo dnf remove gnuchess

References

Summary

In this tutorial we learn how to install gnuchess on CentOS 7 using yum and dnf.