How To Install unknown-horizons on Ubuntu 22.04

In this tutorial we learn how to install unknown-horizons on Ubuntu 22.04. unknown-horizons is 2D realtime strategy simulation

Introduction

In this tutorial we learn how to install unknown-horizons on Ubuntu 22.04.

What is unknown-horizons

unknown-horizons is:

Unknown Horizons is a 2D realtime strategy simulation with an emphasis on economy and city building. Expand your small settlement to a strong and wealthy colony, collect taxes and supply your inhabitants with valuable goods. Increase your power with a well balanced economy and with strategic trade and diplomacy.

There are three methods to install unknown-horizons on Ubuntu 22.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 unknown-horizons Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install unknown-horizons

Install unknown-horizons Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install unknown-horizons

Install unknown-horizons 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 unknown-horizons using aptitude by running the following command:

sudo aptitude -y install unknown-horizons

How To Uninstall unknown-horizons on Ubuntu 22.04

To uninstall only the unknown-horizons package we can use the following command:

sudo apt-get remove unknown-horizons

Uninstall unknown-horizons And Its Dependencies

To uninstall unknown-horizons and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove unknown-horizons

Remove unknown-horizons Configurations and Data

To remove unknown-horizons configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge unknown-horizons

Remove unknown-horizons configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge unknown-horizons

References

Summary

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