The easiest way to install HubTools and its dependencies to a TurnKey Linux appliance (or Debian or a Debian based distribution e.g., Ubuntu) is via the package manager. HubTools 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 hubtools
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 https://github.com/turnkeylinux/turnkey-keyring/raw/master/turnkey-relea... 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/debian wheezy main