How To Install xgammon on Kali Linux

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

Introduction

In this tutorial we learn how to install xgammon on Kali Linux.

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 Kali Linux. 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 on Kali Linux first since aptitude is usually not installed by default on Kali Linux. 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 Kali Linux

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 Kali Linux, we can use the command below:

sudo apt-get -y autoremove xgammon

Remove xgammon Configurations and Data

To remove xgammon configuration and data from Kali Linux 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 Kali Linux using different package management tools: apt, apt-get and aptitude.