The easiest way to install HubDNS and its dependencies to a TurnKey Linux appliance (or Debian or a Debian based distribution e.g., Ubuntu) is via the package manager. HubDNS is in the TurnKey Linux package repository so if you're using a TurnKey Linux installation it's as easy as:
apt-get update apt-get install hubdns
If you're using a non TurnKey Linux system you will first need to install the turnkey-keyring and configure sources.list. Note that the steps below assume you are using Debian or Ubuntu.
wget http://code.turnkeylinux.org/turnkey-keyring/turnkey-release-keyring.gpg apt-key add turnkey-release-keyring.gpg
Add the TurnKey repository to your sources list (e.g., /etc/apt/sources.list):
deb http://archive.turnkeylinux.org/ubuntu lucid main