How to install Terraform on Ubuntu 18.04
This post will show you how to install Terraform on Ubuntu 18.04
Terraform is an open-source infrastructure as code software tool created by HashiCorp. It enables users to define and provision a datacenter infrastructure using a high-level configuration language known as Hashicorp Configuration Language (HCL), or optionally JSON. Terraform supports a number of cloud infrastructure providers such as AWS, GCP and Azure.
First you will need to go to the downloads page on the Terraform website.
Look for the Linux section, right click on the 64-bit option and select Copy link location
Next go to your Ubuntu terminal and input
wget and paste the url you just copied
You now should have a zipped version of the Terraform package in you Downloads directory.
Unzip the package
Next move the binary to /usr/local/bin
To confirm a Terraform has being installed successfully, type terraform --version in your terminal and you should see something like the following.
That's it, Terraform should now be installed on your Ubuntu system and ready for use.
Leave a comment below if this worked for you or not.
Leave a Comment