How To Install gnuchess on Fedora 34

gnuchess is The GNU chess program

Introduction

In this tutorial we learn how to install gnuchess on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install gnuchess.

Install gnuchess on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install gnuchess

Install gnuchess on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install gnuchess

How To Uninstall gnuchess on Fedora 34

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

sudo dnf remove gnuchess

gnuchess Package Contents on Fedora 34

/usr/bin/gnuchess
/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/1a6df646d4739384210f468db52675cadd7fde
/usr/share/doc/gnuchess
/usr/share/doc/gnuchess/AUTHORS
/usr/share/doc/gnuchess/Makefile
/usr/share/doc/gnuchess/Makefile.am
/usr/share/doc/gnuchess/Makefile.in
/usr/share/doc/gnuchess/NEWS
/usr/share/doc/gnuchess/README
/usr/share/doc/gnuchess/TODO
/usr/share/doc/gnuchess/fdl.texi
/usr/share/doc/gnuchess/gnuchess.info
/usr/share/doc/gnuchess/gnuchess.texi
/usr/share/doc/gnuchess/mdate-sh
/usr/share/doc/gnuchess/quotes.rb
/usr/share/doc/gnuchess/stamp-vti
/usr/share/doc/gnuchess/texinfo.tex
/usr/share/doc/gnuchess/version.texi
/usr/share/gnuchess/gnuchess.ini
/usr/share/licenses/gnuchess
/usr/share/licenses/gnuchess/COPYING
/var/lib/games/gnuchess
/var/lib/games/gnuchess/book.dat
/usr/bin/gnuchess
/usr/lib/.build-id
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/1789bfeb3bfdc7a89c8e90e56f0e2b57c43421
/usr/share/doc/gnuchess
/usr/share/doc/gnuchess/AUTHORS
/usr/share/doc/gnuchess/COPYING
/usr/share/doc/gnuchess/Makefile
/usr/share/doc/gnuchess/Makefile.am
/usr/share/doc/gnuchess/Makefile.in
/usr/share/doc/gnuchess/NEWS
/usr/share/doc/gnuchess/README
/usr/share/doc/gnuchess/TODO
/usr/share/doc/gnuchess/fdl.texi
/usr/share/doc/gnuchess/gnuchess.info
/usr/share/doc/gnuchess/gnuchess.texi
/usr/share/doc/gnuchess/mdate-sh
/usr/share/doc/gnuchess/quotes.rb
/usr/share/doc/gnuchess/stamp-vti
/usr/share/doc/gnuchess/texinfo.tex
/usr/share/doc/gnuchess/version.texi
/usr/share/gnuchess/gnuchess.ini
/var/lib/games/gnuchess
/var/lib/games/gnuchess/book.dat

References

Summary

In this tutorial we learn how to install gnuchess on Fedora 34 using yum and dnf.