How To Install widelands on Ubuntu 18.04

In this tutorial we learn how to install widelands on Ubuntu 18.04. widelands is fantasy real-time strategy game

Introduction

In this tutorial we learn how to install widelands on Ubuntu 18.04.

What is widelands

widelands is:

Widelands is a strategy game aiming for gameplay similar to Settlers II by BlueByte.

In this game, you start out on a small piece of land with nothing more than a few of useful resources. Using those, you can build yourself an empire with many thousands of inhabitants. On your way towards this goal, you will have to build up an economic infrastructure, explore the lands around you and face enemies who are trying to rule the world just like you do.

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

Install widelands Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install widelands

Install widelands Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install widelands

Install widelands 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install widelands

How To Uninstall widelands on Ubuntu 18.04

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

sudo apt-get remove widelands

Uninstall widelands And Its Dependencies

To uninstall widelands and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove widelands

Remove widelands Configurations and Data

To remove widelands configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge widelands

Remove widelands configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge widelands

References

Summary

In this tutorial we learn how to install widelands package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.