How To Install gnugo on Kali Linux

In this tutorial we learn how to install gnugo on Kali Linux. gnugo is play the game of Go

Introduction

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

What is gnugo

gnugo is:

GNU Go is a free program that plays the game of Go. It provides a text-only user interface, have a look at the cgoban or qgo package if you want to play on a graphical board.

Go is an ancient game originated from China, with a definite history of over 3000 years, although there are historians who say that the game was invented more than 4000 years ago. The Chinese call the game Weiqi, other names for Go include Baduk (Korean), Igo (Japanese), and Goe (Taiwanese).

In this game, each player tries to exert more influence on territory than her opponent, using threats of death, capture, or isolation. It is, therefore, a symbolic representation of the relationships between nations. Go is getting increasingly popular around the world, especially in Asian, European and American countries, with many worldwide competitions being held.

The game of Go is played on a board. The Go set is comprised of the board, together with 181 black and 180 white stones. The standard board has 19 lines by 19 lines, but 13x13 and 9x9 boards can also be used. However, the 9x9 and 13x13 boards are usually for beginners; more advanced players would prefer the traditional 19x19 board.

Compared to International Chess and Chinese Chess, Go has far fewer rules. Yet this allowed for all sorts of moves to be played, so Go can be a more intellectually challenging game than the other two types of Chess. Nonetheless, Go is not a difficult game to learn, so have a fun time playing the game with your friends.

(adopted from http://senseis.xmp.net/?WhatIsGo)

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

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

sudo apt-get update

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

sudo apt-get -y install gnugo

Install gnugo Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gnugo

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

sudo aptitude -y install gnugo

How To Uninstall gnugo on Kali Linux

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

sudo apt-get remove gnugo

Uninstall gnugo And Its Dependencies

To uninstall gnugo and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove gnugo

Remove gnugo Configurations and Data

To remove gnugo configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge gnugo

Remove gnugo configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gnugo

Dependencies

gnugo have the following dependencies:

References

Summary

In this tutorial we learn how to install gnugo package on Kali Linux using different package management tools: apt, apt-get and aptitude.