Versions Compared

Key

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

Table of Contents

Info

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

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

Code Block
unzip packer_0.12.0_linux_amd64.zip -d packer
sudo mv packer /usr/local/

3. Add Packer to the PATH

Code Block
export PATH="$PATH:/usr/local/packer"
source /etc/environment

4. Verify the installation

Code Block
packer --version