Versions Compared

Key

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

Table of Contents


Ubuntu 16.04

Info

출처 : https://howtoprogram.xyz/2016/11/29/install-packer-ubuntu-16-04-1-lts-xenial-xerus/

Code Block
sudo apt-get install unzip

1. Download Packer

Code Block
wget https://releases.hashicorp.com/packer/0.12.0/packer_0.12.0_linux_amd64.zip

2. Extract and move Packer distribution to /usr/local/packer


unzip packer_0.12.0_linux_amd64.zip -d packer
sudo mv packer /usr/local/
export PATH="$PATH:/usr/local/packer"
source /etc/environment
packer --version

Ubuntu 18.04

Info

출처: https://computingforgeeks.com/how-to-install-and-use-packer/

Code Block
export VER="1.5.1"
wget https://releases.hashicorp.com/packer/${VER}/packer_${VER}_linux_amd64.zip
unzip packer_${VER}
Code Block
unzip packer_0.12.0_linux_amd64.zip -d packer
sudo mv packer /usr/local/bin
packer --version