What dependencies does it have?

Terraform requires the following:

The configure scripts checks wether all necessary compiler features are supported on your system. Typically, you should try to have the most recent version of the required libraries installed on your system.