How To Install fheroes2-pkg on Kali Linux
Introduction
In this tutorial we learn how to install fheroes2-pkg
on Kali Linux.
What is fheroes2-pkg
fheroes2-pkg is:
This package automatically downloads the fheroes2 source code, builds it, and installs the resulting package.
Fheroes2 binaries are not distributable if built with AI due to a licensing conflict between GPL-2 code and the not-for-sale AI. Fheroes2 may also contain some non-free images.
fheroes2: implementation of classic game Heroes of Might and Magic II. Heroes of Might and Magic II is a classic fantasy turn-based strategy/role-playing game which takes place in the land of Enroth, a place of magic. There are a multitude of creature types, from griffins to rocs, golems to pikemen, unicorns to hydras, and four different dragons. Each castle type has six different creatures, from the weak to the strong. There are six castle types, each corresponding to a hero class: Knight, Sorceress, Wizard (Good side), Barbarian, Necromancer and Warlock (Evil side). There are also six different types of neutral creatures you can recruit in special structures scattered about the maps.
Original game files from CD are needed to play this game.
There are three methods to install fheroes2-pkg
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 fheroes2-pkg Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install fheroes2-pkg
using apt-get
by running the following command:
sudo apt-get -y install fheroes2-pkg
Install fheroes2-pkg Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install fheroes2-pkg
using apt
by running the following command:
sudo apt -y install fheroes2-pkg
Install fheroes2-pkg 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 fheroes2-pkg
using aptitude
by running the following command:
sudo aptitude -y install fheroes2-pkg
How To Uninstall fheroes2-pkg on Kali Linux
To uninstall only the fheroes2-pkg
package we can use the following command:
sudo apt-get remove fheroes2-pkg
Uninstall fheroes2-pkg And Its Dependencies
To uninstall fheroes2-pkg
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove fheroes2-pkg
Remove fheroes2-pkg Configurations and Data
To remove fheroes2-pkg
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge fheroes2-pkg
Remove fheroes2-pkg configuration, data, and all of its dependencies
We can use the following command to remove fheroes2-pkg
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fheroes2-pkg
Dependencies
fheroes2-pkg have the following dependencies:
- debconf
- build-essential
- debhelper
- imagemagick
- libsdl-dev
- libsdl-ttf2.0-dev
- libsdl-mixer1.2-dev
- libsdl-image1.2-dev
- libsdl-net1.2-dev
- libtinyxml-dev
- libxdmf-dev
- subversion
References
Summary
In this tutorial we learn how to install fheroes2-pkg
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.