How To Install kmahjongg on CentOS 7

In this tutorial we learn how to install kmahjongg on CentOS 7. kmahjongg is A tile matching game

Introduction

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

What is kmahjongg

KMahjongg is a tile matching game for one or two players, a variation usually known as Mahjong Solitaire. In KMahjongg the tiles are scrambled and stacked on top of each other to resemble a certain shape. The player is then expected to remove all the tiles off the game board by locating each tile’s matching pair.

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

Install kmahjongg on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install kmahjongg

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

sudo dnf -y install kmahjongg

How To Uninstall kmahjongg on CentOS 7

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

sudo dnf remove kmahjongg

References

Summary

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