How To Install gball on CentOS 7

In this tutorial we learn how to install gball on CentOS 7. gball is The Console Ball and Racket Game

Introduction

In this tutorial we learn how to install gball on CentOS 7.

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 control 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 10 levels with an option to play levels randomly, and a high score board.

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

Install gball on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install gball using yum by running the following command:

sudo yum -y install gball

Install gball on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install gball using dnf by running the following command:

sudo dnf -y install gball

How To Uninstall gball on CentOS 7

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

sudo dnf remove gball

References

Summary

In this tutorial we learn how to install gball on CentOS 7 using yum and dnf.