How To Install atanks on Ubuntu 20.04

In this tutorial we learn how to install atanks on Ubuntu 20.04. atanks is tank-battling game

Introduction

In this tutorial we learn how to install atanks on Ubuntu 20.04.

What is atanks

atanks is:

Atomic tanks is a multi-player game in which you attempt to destroy other tanks while trying to protect your own. You earn money for destroying other tanks; with this money you can buy upgrades and better weapons for your tank.

This game is similar Scorched Earth or the Worms series of games.

There are three methods to install atanks on Ubuntu 20.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 atanks Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install atanks

Install atanks Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install atanks

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

sudo aptitude -y install atanks

How To Uninstall atanks on Ubuntu 20.04

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

sudo apt-get remove atanks

Uninstall atanks And Its Dependencies

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

sudo apt-get -y autoremove atanks

Remove atanks Configurations and Data

To remove atanks configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge atanks

Remove atanks configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge atanks

References

Summary

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