How To Install ksquares on Fedora 34

ksquares is Connect the dots to create squares

Introduction

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

What is ksquares

The idea behind KSquares is to construct squares by interconnecting the dots on the grid. Up to four players can play this game together, taking turns. The trick is – regardless of who has constructed most of the square, it is the player who completes the square that gets the point for it. To win the game round player has to collect the most points by covering the most area with the squares of player’s own color.

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

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

sudo dnf -y install ksquares

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

sudo yum -y install ksquares

How To Uninstall ksquares on Fedora 34

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

sudo dnf remove ksquares

ksquares Package Contents on Fedora 34

/usr/bin/ksquares
/usr/lib/.build-id
/usr/lib/.build-id/95
/usr/lib/.build-id/95/8771b1fc53651152c69b0aa4cb155ae8c78b46
/usr/share/applications/org.kde.ksquares.desktop
/usr/share/config.kcfg/ksquares.kcfg
/usr/share/doc/HTML/de/ksquares
/usr/share/doc/HTML/de/ksquares/index.cache.bz2
/usr/share/doc/HTML/de/ksquares/index.docbook
/usr/share/doc/HTML/en/ksquares
/usr/share/doc/HTML/en/ksquares/configure-display.png
/usr/share/doc/HTML/en/ksquares/gameboard.png
/usr/share/doc/HTML/en/ksquares/index.cache.bz2
/usr/share/doc/HTML/en/ksquares/index.docbook
/usr/share/doc/HTML/en/ksquares/newgame.png
/usr/share/doc/HTML/es/ksquares
/usr/share/doc/HTML/es/ksquares/index.cache.bz2
/usr/share/doc/HTML/es/ksquares/index.docbook
/usr/share/doc/HTML/et/ksquares
/usr/share/doc/HTML/et/ksquares/index.cache.bz2
/usr/share/doc/HTML/et/ksquares/index.docbook
/usr/share/doc/HTML/fr/ksquares
/usr/share/doc/HTML/fr/ksquares/index.cache.bz2
/usr/share/doc/HTML/fr/ksquares/index.docbook
/usr/share/doc/HTML/it/ksquares
/usr/share/doc/HTML/it/ksquares/index.cache.bz2
/usr/share/doc/HTML/it/ksquares/index.docbook
/usr/share/doc/HTML/ja/ksquares
/usr/share/doc/HTML/ja/ksquares/index.cache.bz2
/usr/share/doc/HTML/ja/ksquares/index.docbook
/usr/share/doc/HTML/nl/ksquares
/usr/share/doc/HTML/nl/ksquares/index.cache.bz2
/usr/share/doc/HTML/nl/ksquares/index.docbook
/usr/share/doc/HTML/pt/ksquares
/usr/share/doc/HTML/pt/ksquares/index.cache.bz2
/usr/share/doc/HTML/pt/ksquares/index.docbook
/usr/share/doc/HTML/pt_BR/ksquares
/usr/share/doc/HTML/pt_BR/ksquares/index.cache.bz2
/usr/share/doc/HTML/pt_BR/ksquares/index.docbook
/usr/share/doc/HTML/sv/ksquares
/usr/share/doc/HTML/sv/ksquares/index.cache.bz2
/usr/share/doc/HTML/sv/ksquares/index.docbook
/usr/share/doc/HTML/uk/ksquares
/usr/share/doc/HTML/uk/ksquares/configure-display.png
/usr/share/doc/HTML/uk/ksquares/gameboard.png
/usr/share/doc/HTML/uk/ksquares/index.cache.bz2
/usr/share/doc/HTML/uk/ksquares/index.docbook
/usr/share/doc/HTML/uk/ksquares/newgame.png
/usr/share/doc/ksquares
/usr/share/doc/ksquares/README
/usr/share/icons/hicolor/128x128/apps/ksquares.png
/usr/share/icons/hicolor/16x16/apps/ksquares.png
/usr/share/icons/hicolor/22x22/apps/ksquares.png
/usr/share/icons/hicolor/32x32/apps/ksquares.png
/usr/share/icons/hicolor/48x48/apps/ksquares.png
/usr/share/icons/hicolor/64x64/apps/ksquares.png
/usr/share/licenses/ksquares
/usr/share/licenses/ksquares/COPYING
/usr/share/licenses/ksquares/COPYING.DOC
/usr/share/locale/ar/LC_MESSAGES/ksquares.mo
/usr/share/locale/bs/LC_MESSAGES/ksquares.mo
/usr/share/locale/ca/LC_MESSAGES/ksquares.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/ksquares.mo
/usr/share/locale/cs/LC_MESSAGES/ksquares.mo
/usr/share/locale/da/LC_MESSAGES/ksquares.mo
/usr/share/locale/de/LC_MESSAGES/ksquares.mo
/usr/share/locale/el/LC_MESSAGES/ksquares.mo
/usr/share/locale/en_GB/LC_MESSAGES/ksquares.mo
/usr/share/locale/eo/LC_MESSAGES/ksquares.mo
/usr/share/locale/es/LC_MESSAGES/ksquares.mo
/usr/share/locale/et/LC_MESSAGES/ksquares.mo
/usr/share/locale/eu/LC_MESSAGES/ksquares.mo
/usr/share/locale/fi/LC_MESSAGES/ksquares.mo
/usr/share/locale/fr/LC_MESSAGES/ksquares.mo
/usr/share/locale/ga/LC_MESSAGES/ksquares.mo
/usr/share/locale/gl/LC_MESSAGES/ksquares.mo
/usr/share/locale/hi/LC_MESSAGES/ksquares.mo
/usr/share/locale/hr/LC_MESSAGES/ksquares.mo
/usr/share/locale/hu/LC_MESSAGES/ksquares.mo
/usr/share/locale/is/LC_MESSAGES/ksquares.mo
/usr/share/locale/it/LC_MESSAGES/ksquares.mo
/usr/share/locale/ja/LC_MESSAGES/ksquares.mo
/usr/share/locale/kk/LC_MESSAGES/ksquares.mo
/usr/share/locale/km/LC_MESSAGES/ksquares.mo
/usr/share/locale/ko/LC_MESSAGES/ksquares.mo
/usr/share/locale/lt/LC_MESSAGES/ksquares.mo
/usr/share/locale/lv/LC_MESSAGES/ksquares.mo
/usr/share/locale/ml/LC_MESSAGES/ksquares.mo
/usr/share/locale/mr/LC_MESSAGES/ksquares.mo
/usr/share/locale/nb/LC_MESSAGES/ksquares.mo
/usr/share/locale/nds/LC_MESSAGES/ksquares.mo
/usr/share/locale/nl/LC_MESSAGES/ksquares.mo
/usr/share/locale/nn/LC_MESSAGES/ksquares.mo
/usr/share/locale/pl/LC_MESSAGES/ksquares.mo
/usr/share/locale/pt/LC_MESSAGES/ksquares.mo
/usr/share/locale/pt_BR/LC_MESSAGES/ksquares.mo
/usr/share/locale/ro/LC_MESSAGES/ksquares.mo
/usr/share/locale/ru/LC_MESSAGES/ksquares.mo
/usr/share/locale/sk/LC_MESSAGES/ksquares.mo
/usr/share/locale/sl/LC_MESSAGES/ksquares.mo
/usr/share/locale/sr/LC_MESSAGES/ksquares.mo
/usr/share/locale/sv/LC_MESSAGES/ksquares.mo
/usr/share/locale/tr/LC_MESSAGES/ksquares.mo
/usr/share/locale/ug/LC_MESSAGES/ksquares.mo
/usr/share/locale/uk/LC_MESSAGES/ksquares.mo
/usr/share/locale/zh_CN/LC_MESSAGES/ksquares.mo
/usr/share/locale/zh_TW/LC_MESSAGES/ksquares.mo
/usr/share/metainfo/org.kde.ksquares.appdata.xml

References

Summary

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