Info | |
---|---|
|
Ubuntu 16.04
Info |
---|
출처 : https://howtoprogram.xyz/2016/11/29/install-packer-ubuntu-16-04-1-lts-xenial-xerus/ |
1. Download Packer
Code Block |
---|
sudo apt-get install unzip
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
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}_linux_amd64.zip
sudo mv packer /usr/local/bin
|
Code Block |
packer --version |