How To Install wesnoth on CentOS 7

In this tutorial we learn how to install wesnoth on CentOS 7. wesnoth is Turn-based strategy game with a fantasy theme

Introduction

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

What is wesnoth

The Battle for Wesnoth is a turn-based strategy game with a fantasy theme. Build up a great army, gradually turning raw recruits into hardened veterans. In later games, recall your toughest warriors and form a deadly host against whom none can stand. Choose units from a large pool of specialists, and hand-pick a force with the right strengths to fight well on different terrains against all manner of opposition. Fight to regain the throne of Wesnoth, of which you are the legitimate heir, or use your dread power over the Undead to dominate the land of mortals, or lead your glorious Orcish tribe to victory against the humans who dared despoil your lands. Wesnoth has many different sagas waiting to be played out. You can create your own custom units, and write your own scenarios–or even full-blown campaigns. You can also challenge your friends–or strangers–and fight multi-player epic fantasy battles.

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

Install wesnoth on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install wesnoth

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

sudo dnf -y install wesnoth

How To Uninstall wesnoth on CentOS 7

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

sudo dnf remove wesnoth

References

Summary

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