version sold on GOG
1. Download the scripts, and put them in the directory containing the archive:
ls
gog_terraria_2.0.0.3.sh play-anything.sh play-terraria_gog-2.0.0.3.sh
2. Install the scripts dependencies:
apt-get install unzip fakeroot
3. Run the script:
sh ./play-terraria_gog-2.0.0.3.sh
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.