A terraforming installation has, according to the Wiki, a mass of 125,000 tons, while regular installations only have 25,000 tons. On the same page it says that it will automatically be broken down if a ship without enough cargo space tries to transport it. If that doesn't work your only bet is probably to rely on civilian freighters.