version sold on GOG
1. Download the scripts, and put them in the directory containing the installer:
play-anything.sh play-heroes-of-might-and-magic-2_gog-184.108.40.206.sh setup_homm2_gold_220.127.116.11.exe
2. Install the scripts dependencies:
apt-get install icoutils innoextract fakeroot
3. Run the script:
4. Wait a couple minutes, The script will end by giving you the commands to launch as root to install the game.
This script accept several options to set its behaviour. Follow the links to more details on how to use them.