How To Install xdemineur on Ubuntu 18.04

In this tutorial we learn how to install xdemineur on Ubuntu 18.04. xdemineur is Yet another minesweeper for X

Introduction

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

What is xdemineur

xdemineur is:

The object of this game is to find the location of the mines hidden in the minefield and to mark their location by placing a warning flag.

There are many minesweeper clones. This one is the most similar to the Windows one in terms of look and feel.

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

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

sudo apt-get update

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

sudo apt-get -y install xdemineur

Install xdemineur Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install xdemineur

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

sudo aptitude -y install xdemineur

How To Uninstall xdemineur on Ubuntu 18.04

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

sudo apt-get remove xdemineur

Uninstall xdemineur And Its Dependencies

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

sudo apt-get -y autoremove xdemineur

Remove xdemineur Configurations and Data

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

sudo apt-get -y purge xdemineur

Remove xdemineur configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xdemineur

References

Summary

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