How To Install xgammon on Debian 9

In this tutorial we learn how to install xgammon on Debian 9. xgammon is Implementation of backgammon under X

Introduction

In this tutorial we learn how to install xgammon on Debian 9.

What is xgammon

xgammon is:

This a nicely implemented backgammon with the following features: - X11/Xaw interface, - a simple file selector and saving dialog, - You can edit positions and perform rollouts. - Position dump to a mail file in the format used in backgammon newsgroups. - Easier movement of stones, by simple button clicks. - You can play against an opponent on a remote X-Terminal. (experimental).

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

Install xgammon Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install xgammon

Install xgammon Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install xgammon

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

sudo aptitude update

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

sudo aptitude -y install xgammon

How To Uninstall xgammon on Debian 9

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

sudo apt-get remove xgammon

Uninstall xgammon And Its Dependencies

To uninstall xgammon and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove xgammon

Remove xgammon Configurations and Data

To remove xgammon configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge xgammon

Remove xgammon configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xgammon

Dependencies

xgammon have the following dependencies:

References

Summary

In this tutorial we learn how to install xgammon package on Debian 9 using different package management tools: apt, apt-get and aptitude.