How To Install hedgewars on Debian 10
Introduction
In this tutorial we learn how to install hedgewars
on Debian 10.
What is hedgewars
hedgewars is:
Each player controls a team of several hedgehogs. During the course of the game, players take turns with one of their hedgehogs. They then use whatever tools and weapons are available to attack and kill the opponents’ hedgehogs, thereby winning the game. Hedgehogs may move around the terrain in a variety of ways, normally by walking and jumping but also by using particular tools such as the “Rope” or “Parachute”, to move to otherwise inaccessible areas. Each turn is time-limited to ensure that players do not hold up the game with excessive thinking or moving.
A large variety of tools and weapons are available for players during the game: Grenade, Cluster Bomb, Bazooka, UFO, Homing Bee, Shotgun, Desert Eagle, Fire Punch, Baseball Bat, Dynamite, Mine, Rope, Pneumatic pick, Parachute. Most weapons, when used, cause explosions that deform the terrain, removing circular chunks. The landscape is an island floating on a body of water, or a restricted cave with water at the bottom. A hedgehog dies when it enters the water (either by falling off the island, or through a hole in the bottom of it), it is thrown off either side of the arena or when its health is reduced, typically from contact with explosions, to zero (the damage dealt to the attacked hedgehog or hedgehogs after a player’s or CPU turn is shown only when all movement on the battlefield has ceased).
There are three methods to install hedgewars
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install hedgewars Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install hedgewars
using apt-get
by running the following command:
sudo apt-get -y install hedgewars
Install hedgewars Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install hedgewars
using apt
by running the following command:
sudo apt -y install hedgewars
Install hedgewars 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 hedgewars
using aptitude
by running the following command:
sudo aptitude -y install hedgewars
How To Uninstall hedgewars on Debian 10
To uninstall only the hedgewars
package we can use the following command:
sudo apt-get remove hedgewars
Uninstall hedgewars And Its Dependencies
To uninstall hedgewars
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove hedgewars
Remove hedgewars Configurations and Data
To remove hedgewars
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge hedgewars
Remove hedgewars configuration, data, and all of its dependencies
We can use the following command to remove hedgewars
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge hedgewars
Dependencies
hedgewars have the following dependencies:
References
Summary
In this tutorial we learn how to install hedgewars
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.