You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 3
Next »
Ubuntu 16.04
1. Download Packer
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/
3. Add Packer to the PATH
export PATH="$PATH:/usr/local/packer"
source /etc/environment
4. Verify the installation
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