Install OpenTTD (Transport Tycoon Deluxe) under Ubuntu

Install from snap
https://snapcraft.io/install/openttd/ubuntu

sudo snap install openttd

Install from APT package
http://www.openttd.org/en/download-stable

#!/bin/bash

if [ "$1" == "-n" ]; then
  # install latest version from homepage
  if [ "$(uname -m)" == "x86_64" ]; then
    # 64 bit
    URL=http://binaries.openttd.org/releases/1.5.0/openttd-1.5.0-linux-ubuntu-trusty-amd64.deb
  else
    # 32 bit
    URL=http://binaries.openttd.org/releases/1.5.0/openttd-1.5.0-linux-ubuntu-trusty-i386.deb
  fi
  
  # download
  wget ${URL} -P /tmp
  
  # install
  sudo dpkg -i /tmp/openttd-*-linux-ubuntu-*.deb
else
  # installed version provided by the distribution
  sudo apt-get install -y openttd
fi
 
# install music
sudo apt-get install -y openttd-opensfx openttd-openmsx timidity
>

Install newest Version
wget https://raw.githubusercontent.com/panticz/installit/master/install.openttd.sh -O - | bash -s -- -n

Notes

# sudo apt-get install -y libsdl1.2debian
 
# pre configure
debconf-set-selections <<\EOF
openttd openttd/datafiles select
EOF
 
# install openttd
sudo apt-get install -y openttd timidity
wget http://www.tt-ms.de/downloads/ttdwin302011.rar -P /tmp
mkdir /tmp/ttd
unrar x /tmp/ttdwin302011.rar /tmp/ttd
 
# copy data
sudo cp /tmp/ttd/*.grf /tmp/ttd/*.cat /usr/share/games/openttd/data
sudo cp /tmp/ttd/gm/* /usr/share/games/openttd/gm
 
# clean up
rm /tmp/ttdwin302011.rar
rm -r /tmp/ttd

Links
http://wiki.ubuntuusers.de/Spiele/OpenTTD
http://www.tt-ms.de/downloads/