How To Install tuxpuck on Fedora 34

tuxpuck is 3D Shufflepuck Pong Game

Introduction

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

What is tuxpuck

TuxPuck is a shufflepuck game written in C using SDL. The player moves a pad around a board and tries to shoot down the puck through the opponents defense. Easy to play, difficult to win.

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

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

sudo dnf -y install tuxpuck

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

sudo yum -y install tuxpuck

How To Uninstall tuxpuck on Fedora 34

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

sudo dnf remove tuxpuck

tuxpuck Package Contents on Fedora 34

/usr/bin/tuxpuck
/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/683d1bc2b5de35c8c394d3255b2f2529d571b8
/usr/share/applications/tuxpuck.desktop
/usr/share/doc/tuxpuck
/usr/share/doc/tuxpuck/COPYING
/usr/share/doc/tuxpuck/bugs.txt
/usr/share/doc/tuxpuck/readme.txt
/usr/share/doc/tuxpuck/thanks.txt
/usr/share/doc/tuxpuck/todo.txt
/usr/share/icons/hicolor/32x32/apps/tuxpuck.png
/usr/share/man/man6/tuxpuck.6.gz

References

Summary

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