Install Terraform in Linux CentOS 7

From Gejoreuy
Jump to navigation Jump to search

Step by Step

Install yum-config-manager to manage our repositories.

root@gejoreuy:~# yum install -y yum-utils

Use yum-config-manager to add the official HashiCorp Linux repository.

root@gejoreuy:~# yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo

Install Terraform.

root@gejoreuy:~# yum -y install terraform

Check Terraform version to make sure installation is successfully.

root@gejoreuy:~# terraform version