How To Install wesnoth on Debian 10

Learn how to install wesnoth on Debian 10 with this tutorial. wesnoth is fantasy turn-based strategy game - complete suite (metapackage)

Introduction

In this tutorial we learn how to install wesnoth on Debian 10.

What is wesnoth

wesnoth is:

This metapackage pulls in the complete set of the latest stable version, most helpful if you always want to have all the official campaigns installed. If you only want to play over the network with other players or want to play only a few campaigns you just need to install the wesnoth-core package and the wanted campaign packages.

Battle for control of villages, using variety of units which have advantages and disadvantages in different types of terrains and against different types of attacks. Units gain experience and advance levels, and are carried over from one scenario to the next in a campaign.

There are three methods to install wesnoth on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install wesnoth Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install wesnoth using apt-get by running the following command:

sudo apt-get -y install wesnoth

Install wesnoth Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install wesnoth

Install wesnoth Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install wesnoth

How To Uninstall wesnoth on Debian 10

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

sudo apt-get remove wesnoth

Uninstall wesnoth And Its Dependencies

To uninstall wesnoth and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove wesnoth

Remove wesnoth Configurations and Data

To remove wesnoth configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge wesnoth

Remove wesnoth configuration, data, and all of its dependencies

We can use the following command to remove wesnoth configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge wesnoth

Dependencies

wesnoth have the following dependencies:

References

Summary

In this tutorial we learn how to install wesnoth package on Debian 10 using different package management tools: apt, apt-get and aptitude.