Introduction
In this tutorial we learn how to install gamazons
on Ubuntu 22.04.
What is gamazons
gamazons is:
Amazons is a game played on a 10×10 chess board. Each side has four pieces
(amazons) that move like chess queens (in a straight line in any direction).
Instead of capturing pieces like in chess, the game is determined based on who
moves last.
Each move consists of two parts. First an amazon moves to a new square and
then fires an arrow to another square (the arrow is fired in a straight line
in any direction from the square the amazon landed on). The square the arrow
lands on becomes a permenant block for the rest of the game. No one can move
over it, or fire an arrow over it. Every turn an amazon must move and fire an
arrow, so every turn there is one less square available on the board. Try and
block in your opponent or section off a good chunk of the board for yourself.
There are three methods to install gamazons
on Ubuntu 22.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 gamazons Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install gamazons
using apt-get
by running the following command:
sudo apt-get -y install gamazons
Install gamazons Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install gamazons
using apt
by running the following command:
sudo apt -y install gamazons
Install gamazons 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 gamazons
using aptitude
by running the following command:
sudo aptitude -y install gamazons
How To Uninstall gamazons on Ubuntu 22.04
To uninstall only the gamazons
package we can use the following command:
sudo apt-get remove gamazons
Uninstall gamazons And Its Dependencies
To uninstall gamazons
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove gamazons
Remove gamazons Configurations and Data
To remove gamazons
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge gamazons
Remove gamazons configuration, data, and all of its dependencies
We can use the following command to remove gamazons
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gamazons
References
Summary
In this tutorial we learn how to install gamazons
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.