LinuxTerraform

Install terraform on Linux

Install Terraform on Centos/RHEL

Step1: Navigate to the root user by running the below command

sudo su

Step2: Run the below command to update all the existing package available in the repository, be careful if it’s a PRODUCTION server (optional)

yum update -y

Step3: Now run the below commands to install Terraform

yum install yum-utils -y

yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo

yum install terraform

Also Read: Install Terraform on Windows

Step5: Check the terraform version by running the below command

terraform version

Uninstall Terraform

yum remove terraform

Leave a Reply

Your email address will not be published. Required fields are marked *