Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
iconfalse

Table of Contents

Info

출처: https://askubuntu.com/questions/983351/how-to-install-terraform-in-ubuntu

1. Install unzip

Code Block
sudo apt-get install unzip

2. Confirm the latest version number on the terraform website:

Code Block
https://www.terraform.io/downloads.html

3. Download latest version of the terraform (substituting newer version number if needed)

Code Block
wget https://releases.hashicorp.com/terraform/0.12.18/terraform_0.12.18_linux_amd64.zip

4. Extract the downloaded file archive

Code Block
unzip terraform_0.12.18_linux_amd64.zip

5. Move the executable into a directory searched for executables

Code Block
sudo mv terraform /usr/local/bin/

6. Run it

Code Block
terraform --version 

...