How To Install d2x-rebirth on Ubuntu 18.04

In this tutorial we learn how to install d2x-rebirth on Ubuntu 18.04. d2x-rebirth is port of the 1996 classic game Descent 2

Introduction

In this tutorial we learn how to install d2x-rebirth on Ubuntu 18.04.

What is d2x-rebirth

d2x-rebirth is:

DXX-Rebirth is a Source Port of the Descent & Descent ][ Engines and provides classical Gameplay combined with OpenGL graphics and effects, a bunch of improvements and new features.

Original game data is needed to play this game.

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

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

sudo apt-get update

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

sudo apt-get -y install d2x-rebirth

Install d2x-rebirth Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install d2x-rebirth

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

sudo aptitude -y install d2x-rebirth

How To Uninstall d2x-rebirth on Ubuntu 18.04

To uninstall only the d2x-rebirth package we can use the following command:

sudo apt-get remove d2x-rebirth

Uninstall d2x-rebirth And Its Dependencies

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

sudo apt-get -y autoremove d2x-rebirth

Remove d2x-rebirth Configurations and Data

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

sudo apt-get -y purge d2x-rebirth

Remove d2x-rebirth configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge d2x-rebirth

References

Summary

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