How To Install ufoai-server on Ubuntu 18.04

In this tutorial we learn how to install ufoai-server on Ubuntu 18.04. ufoai-server is UFO

Introduction

In this tutorial we learn how to install ufoai-server on Ubuntu 18.04.

What is ufoai-server

ufoai-server is:

It is the year 2084. You control a secret organisation charged with defending Earth from a brutal alien enemy. Build up your bases, prepare your team, and dive head-first into the fast and flowing turn-based combat.

This package contains the dedicated game server for UFO: Alien Invasion. It is only needed if you want to setup a permanent game server.

There are three methods to install ufoai-server 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 ufoai-server Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ufoai-server

Install ufoai-server Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ufoai-server

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

sudo aptitude -y install ufoai-server

How To Uninstall ufoai-server on Ubuntu 18.04

To uninstall only the ufoai-server package we can use the following command:

sudo apt-get remove ufoai-server

Uninstall ufoai-server And Its Dependencies

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

sudo apt-get -y autoremove ufoai-server

Remove ufoai-server Configurations and Data

To remove ufoai-server configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge ufoai-server

Remove ufoai-server configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ufoai-server

References

Summary

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