How To Install knights on Fedora 34

knights is A chess board for KDE

Introduction

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

What is knights

Knights is a chess board for KDE that supports playing against computer engines that support the XBoard protocol like GNUChess and also multiplayer games over the internet on FICS. It features automatic rule checking, themes, and nice animations

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

Install knights 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 knights using dnf by running the following command:

sudo dnf -y install knights

Install knights 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 knights using yum by running the following command:

sudo yum -y install knights

How To Uninstall knights on Fedora 34

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

sudo dnf remove knights

knights Package Contents on Fedora 34

/usr/bin/knights
/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/d1614a68626ce7c3321da6de941cc50c009b25
/usr/share/applications/org.kde.knights.desktop
/usr/share/config.kcfg/knights.kcfg
/usr/share/dbus-1/interfaces/org.kde.Knights.xml
/usr/share/doc/knights
/usr/share/doc/knights/ChangeLog
/usr/share/doc/knights/DESIGN
/usr/share/doc/knights/README.md
/usr/share/doc/knights/README.themes
/usr/share/doc/knights/README.translation
/usr/share/doc/knights/doc
/usr/share/doc/knights/doc/CMakeLists.txt
/usr/share/doc/knights/doc/Knights-board-setup.png
/usr/share/doc/knights/doc/Knights-board.png
/usr/share/doc/knights/doc/Knights-castle-kingside.png
/usr/share/doc/knights/doc/Knights-castle-queenside.png
/usr/share/doc/knights/doc/Knights-danger.png
/usr/share/doc/knights/doc/Knights-engines.png
/usr/share/doc/knights/doc/Knights-enpassant.png
/usr/share/doc/knights/doc/Knights-lastmove.png
/usr/share/doc/knights/doc/Knights-move-bishop.png
/usr/share/doc/knights/doc/Knights-move-king.png
/usr/share/doc/knights/doc/Knights-move-knight.png
/usr/share/doc/knights/doc/Knights-move-limits.png
/usr/share/doc/knights/doc/Knights-move-pawn.png
/usr/share/doc/knights/doc/Knights-move-queen.png
/usr/share/doc/knights/doc/Knights-move-rook.png
/usr/share/doc/knights/doc/Knights-moving-queen.png
/usr/share/doc/knights/doc/Knights-newgame-dialog.png
/usr/share/doc/knights/doc/Knights-server-account.png
/usr/share/doc/knights/doc/Knights-server-challenges.png
/usr/share/doc/knights/doc/Knights-server-graph.png
/usr/share/doc/knights/doc/Knights-server-list.png
/usr/share/doc/knights/doc/index.docbook
/usr/share/icons/hicolor/16x16/apps/knights.png
/usr/share/icons/hicolor/32x32/apps/knights.png
/usr/share/icons/hicolor/48x48/apps/knights.png
/usr/share/icons/hicolor/64x64/apps/knights.png
/usr/share/knights
/usr/share/knights/sounds
/usr/share/knights/sounds/capture_black.ogg
/usr/share/knights/sounds/capture_white.ogg
/usr/share/knights/sounds/move_black.ogg
/usr/share/knights/sounds/move_white.ogg
/usr/share/knights/themes
/usr/share/knights/themes/default.desktop
/usr/share/knights/themes/east_west.desktop
/usr/share/knights/themes/east_west.png
/usr/share/knights/themes/east_west.svgz
/usr/share/knights/themes/gray.png
/usr/share/knights/themes/gray.svgz
/usr/share/knights/themes/knights.desktop
/usr/share/knights/themes/knights.png
/usr/share/knights/themes/knights.svgz
/usr/share/knights/themes/plain.desktop
/usr/share/knights/themes/plain.png
/usr/share/knights/themes/plain.svgz
/usr/share/knights/themes/xboard2.desktop
/usr/share/knights/themes/xboard2.png
/usr/share/knights/themes/xboard2.svgz
/usr/share/knsrcfiles/knights.knsrc
/usr/share/kxmlgui5/knights/knightsui.rc
/usr/share/metainfo/org.kde.knights.appdata.xml
/usr/share/qlogging-categories5/knights.categories
/usr/bin/knights
/usr/lib/.build-id
/usr/lib/.build-id/37
/usr/lib/.build-id/37/38cfbbf1dde60b5179b9b489a717a79188d57f
/usr/share/applications/org.kde.knights.desktop
/usr/share/config.kcfg/knights.kcfg
/usr/share/dbus-1/interfaces/org.kde.Knights.xml
/usr/share/doc/knights
/usr/share/doc/knights/ChangeLog
/usr/share/doc/knights/DESIGN
/usr/share/doc/knights/README.md
/usr/share/doc/knights/README.themes
/usr/share/doc/knights/README.translation
/usr/share/doc/knights/doc
/usr/share/doc/knights/doc/CMakeLists.txt
/usr/share/doc/knights/doc/Knights-board-setup.png
/usr/share/doc/knights/doc/Knights-board.png
/usr/share/doc/knights/doc/Knights-castle-kingside.png
/usr/share/doc/knights/doc/Knights-castle-queenside.png
/usr/share/doc/knights/doc/Knights-danger.png
/usr/share/doc/knights/doc/Knights-engines.png
/usr/share/doc/knights/doc/Knights-enpassant.png
/usr/share/doc/knights/doc/Knights-lastmove.png
/usr/share/doc/knights/doc/Knights-move-bishop.png
/usr/share/doc/knights/doc/Knights-move-king.png
/usr/share/doc/knights/doc/Knights-move-knight.png
/usr/share/doc/knights/doc/Knights-move-limits.png
/usr/share/doc/knights/doc/Knights-move-pawn.png
/usr/share/doc/knights/doc/Knights-move-queen.png
/usr/share/doc/knights/doc/Knights-move-rook.png
/usr/share/doc/knights/doc/Knights-moving-queen.png
/usr/share/doc/knights/doc/Knights-newgame-dialog.png
/usr/share/doc/knights/doc/Knights-server-account.png
/usr/share/doc/knights/doc/Knights-server-challenges.png
/usr/share/doc/knights/doc/Knights-server-graph.png
/usr/share/doc/knights/doc/Knights-server-list.png
/usr/share/doc/knights/doc/index.docbook
/usr/share/icons/hicolor/16x16/apps/knights.png
/usr/share/icons/hicolor/32x32/apps/knights.png
/usr/share/icons/hicolor/48x48/apps/knights.png
/usr/share/icons/hicolor/64x64/apps/knights.png
/usr/share/knights
/usr/share/knights/sounds
/usr/share/knights/sounds/capture_black.ogg
/usr/share/knights/sounds/capture_white.ogg
/usr/share/knights/sounds/move_black.ogg
/usr/share/knights/sounds/move_white.ogg
/usr/share/knights/themes
/usr/share/knights/themes/default.desktop
/usr/share/knights/themes/east_west.desktop
/usr/share/knights/themes/east_west.png
/usr/share/knights/themes/east_west.svgz
/usr/share/knights/themes/gray.png
/usr/share/knights/themes/gray.svgz
/usr/share/knights/themes/knights.desktop
/usr/share/knights/themes/knights.png
/usr/share/knights/themes/knights.svgz
/usr/share/knights/themes/plain.desktop
/usr/share/knights/themes/plain.png
/usr/share/knights/themes/plain.svgz
/usr/share/knights/themes/xboard2.desktop
/usr/share/knights/themes/xboard2.png
/usr/share/knights/themes/xboard2.svgz
/usr/share/knsrcfiles/knights.knsrc
/usr/share/kxmlgui5/knights/knightsui.rc
/usr/share/metainfo/org.kde.knights.appdata.xml
/usr/share/qlogging-categories5/knights.categories

References

Summary

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