Ubuntu 16.04
sudo apt-get install unzip wget https://releases.hashicorp.com/packer/0.12.0/packer_0.12.0_linux_amd64.zip 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
export VER="1.5.1" wget https://releases.hashicorp.com/packer/${VER}/packer_${VER}_linux_amd64.zip unzip packer_${VER}_linux_amd64.zip sudo mv packer /usr/local/bin packer --version
0 Comments