How To Install sirius on Fedora 34

sirius is Reversi game for Gnome

Introduction

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

What is sirius

Sirius is a program for playing the game of reversi. The program includes an AI (Artificial Intelligence) opponent which plays at a very challenging level and is actually quite hard to beat. The AI opponent’s strength can therefore be adjusted in several ways to give you a suitable opponent. The AI opponent uses a plain alpha-beta search with hashing to figure out which move to make. To be able to tell a good position from a bad one, it uses a pattern based evaluation function. The pattern used is the 9 discs surrounding each corner and the 8 discs creating the edge of the board. The evaluation function also takes mobility, potential mobility and parity into count. For the initial 9 moves the AI opponent optionally uses a simple opening book. During midgame it searches and evaluates about 200.000 nodes per second on a PIII 750 MHz, in the endgame this number is significantly higher due to more transpositions and a less expensive evaluation function.

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

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

sudo dnf -y install sirius

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

sudo yum -y install sirius

How To Uninstall sirius on Fedora 34

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

sudo dnf remove sirius

sirius Package Contents on Fedora 34

/usr/bin/sirius
/usr/lib/.build-id
/usr/lib/.build-id/90
/usr/lib/.build-id/90/ff0f1fd78f2dad7db4076cdb4ef2f319317005
/usr/share/applications/sirius.desktop
/usr/share/doc/sirius
/usr/share/doc/sirius/AUTHORS
/usr/share/doc/sirius/COPYING
/usr/share/doc/sirius/ChangeLog
/usr/share/doc/sirius/README
/usr/share/locale/de/LC_MESSAGES/sirius.mo
/usr/share/locale/fr/LC_MESSAGES/sirius.mo
/usr/share/locale/ru/LC_MESSAGES/sirius.mo
/usr/share/locale/sv/LC_MESSAGES/sirius.mo
/usr/share/pixmaps/sirius
/usr/share/pixmaps/sirius.png
/usr/share/pixmaps/sirius/marker_classic.png
/usr/share/sirius
/usr/share/sirius/corner
/usr/share/sirius/edge
/usr/share/sirius/opening_book

References

Summary

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