How To Install cockatrice on Fedora 34

cockatrice is A cross-platform virtual tabletop software for multi-player card games

Introduction

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

What is cockatrice

Cockatrice is an open-source multi-platform supported program for playing tabletop card games over a network. The program’s server design prevents any kind of client modifications to gain an unfair advantage in a game. The client also has a built in single-player mode where you can create decks without being connected to a server.

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

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

sudo dnf -y install cockatrice

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

sudo yum -y install cockatrice

How To Uninstall cockatrice on Fedora 34

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

sudo dnf remove cockatrice

cockatrice Package Contents on Fedora 34

/usr/bin/cockatrice
/usr/bin/dbconverter
/usr/bin/oracle
/usr/bin/servatrice
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/4ed2c396a2c1dd766fe61cb3fc1205ae2d6daf
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/e0aabe24f329d164c9295e65b0e5d5a3a17ef8
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/c3e1965727ac6a778aed2deeb404e25d068b5c
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/1d122b8bb751a2190391e42ebe48baf279caa6
/usr/share/appdata/cockatrice.appdata.xml
/usr/share/applications/cockatrice.desktop
/usr/share/applications/oracle.desktop
/usr/share/applications/servatrice.desktop
/usr/share/cockatrice
/usr/share/cockatrice/sounds
/usr/share/cockatrice/sounds/Default
/usr/share/cockatrice/sounds/Default/attack_step.wav
/usr/share/cockatrice/sounds/Default/buddy_join.wav
/usr/share/cockatrice/sounds/Default/buddy_leave.wav
/usr/share/cockatrice/sounds/Default/end_step.wav
/usr/share/cockatrice/sounds/Default/player_join.wav
/usr/share/cockatrice/sounds/Default/start_combat.wav
/usr/share/cockatrice/sounds/Default/tap_card.wav
/usr/share/cockatrice/sounds/Legacy
/usr/share/cockatrice/sounds/Legacy/all_mention.wav
/usr/share/cockatrice/sounds/Legacy/chat_mention.wav
/usr/share/cockatrice/sounds/Legacy/draw_step.wav
/usr/share/cockatrice/sounds/Legacy/play_card.wav
/usr/share/cockatrice/sounds/Legacy/player_join.wav
/usr/share/cockatrice/sounds/Legacy/private_message.wav
/usr/share/cockatrice/sounds/Legacy/shuffle.wav
/usr/share/cockatrice/sounds/Legacy/tap_card.wav
/usr/share/cockatrice/sounds/Legacy/untap_card.wav
/usr/share/cockatrice/themes
/usr/share/cockatrice/themes/Default
/usr/share/cockatrice/themes/Fabric
/usr/share/cockatrice/themes/Fabric/zones
/usr/share/cockatrice/themes/Fabric/zones/handzone.png
/usr/share/cockatrice/themes/Fabric/zones/playerzone.png
/usr/share/cockatrice/themes/Fabric/zones/stackzone.png
/usr/share/cockatrice/themes/Fabric/zones/tablezone.png
/usr/share/cockatrice/themes/Leather
/usr/share/cockatrice/themes/Leather/zones
/usr/share/cockatrice/themes/Leather/zones/handzone.png
/usr/share/cockatrice/themes/Leather/zones/playerzone.png
/usr/share/cockatrice/themes/Leather/zones/stackzone.png
/usr/share/cockatrice/themes/Leather/zones/tablezone.png
/usr/share/cockatrice/themes/Plasma
/usr/share/cockatrice/themes/Plasma/zones
/usr/share/cockatrice/themes/Plasma/zones/handzone.png
/usr/share/cockatrice/themes/Plasma/zones/playerzone.png
/usr/share/cockatrice/themes/Plasma/zones/stackzone.png
/usr/share/cockatrice/themes/Plasma/zones/tablezone.png
/usr/share/cockatrice/themes/VelvetMarble
/usr/share/cockatrice/themes/VelvetMarble/zones
/usr/share/cockatrice/themes/VelvetMarble/zones/handzone.jpg
/usr/share/cockatrice/themes/VelvetMarble/zones/playerzone.jpg
/usr/share/cockatrice/themes/VelvetMarble/zones/stackzone.jpg
/usr/share/cockatrice/themes/VelvetMarble/zones/tablezone.jpg
/usr/share/cockatrice/translations
/usr/share/doc/cockatrice
/usr/share/doc/cockatrice/README.md
/usr/share/icons/hicolor/48x48/apps/cockatrice.png
/usr/share/icons/hicolor/48x48/apps/oracle.png
/usr/share/icons/hicolor/48x48/apps/servatrice.png
/usr/share/icons/hicolor/scalable/apps/cockatrice.svg
/usr/share/icons/hicolor/scalable/apps/oracle.svg
/usr/share/icons/hicolor/scalable/apps/servatrice.svg
/usr/share/licenses/cockatrice
/usr/share/licenses/cockatrice/LICENSE
/usr/share/oracle
/usr/share/oracle/translations
/usr/share/servatrice
/usr/share/servatrice/servatrice.ini.example
/usr/share/servatrice/servatrice.sql

References

Summary

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