How To Install gball on Fedora 34

gball is The Console Ball and Racket Game

Introduction

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

What is gball

GBall is a simple yet nice implementation of the well known ball and racket game. It is designed to run under the GNU/Linux console (including terminal emulators). The aim of the game is simple your racket and move it around to bounce the ball and hit all the bricks. If the ball hits a wall, it will bounce. If it fell down the screen without bouncing on the racket, you lose. The game includes many levels with an option to play levels randomly. The game also has a high score board.

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

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

sudo dnf -y install gball

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

sudo yum -y install gball

How To Uninstall gball on Fedora 34

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

sudo dnf remove gball

gball Package Contents on Fedora 34

/usr/bin/gball
/usr/lib/.build-id
/usr/lib/.build-id/43
/usr/lib/.build-id/43/a93965da290788f173f14b355677aaa9e20591
/usr/share/doc/gball
/usr/share/doc/gball/AUTHORS
/usr/share/doc/gball/COPYING
/usr/share/doc/gball/ChangeLog
/usr/share/doc/gball/README
/usr/share/info/gball.info.gz
/usr/share/licenses/gball
/usr/share/licenses/gball/COPYING
/usr/share/man/man1/gball.1.gz

References

Summary

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