How to install packer on Ubuntu 18.04
This post will show you how to install packer on ubuntu 18.04.
Packer is an open source tool for creating identical machine images for multiple platforms from a single source configuration. Packer is lightweight and runs on every major operating system. Packer does not replace configuration management tools like Ansible, Chef or Puppet. In fact, when building images, Packer is able to use tools like Ansible Chef or Puppet to install software onto the image.
- Browse to https://www.packer.io/downloads.html. Look for the Linux section, right click on the 64-bit option and select Copy link address
- Next go to your Ubuntu terminal and input
wget and paste the url you just copied
- You now should have a zipped version of the packer package in you Downloads directory.
- Unzip this package
- Next move the binary to /usr/local/bin
sudo mv packer /usr/local/bin/
- To confirm a successful install type packer in your terminal and you should see something like the following
That's it, packer should now be installed and ready for use.Leave a comment below if this worked for you or not.
worked for Ubuntu as WLS on 4.4.0-18362-Microsoft #476-Microsoft Fri Nov 01 16:53:00 PST 2019 x86_64 x86_64 x86_64 GNU/Linux as of 4/19/2020
Works perfectly on Ubuntu 19.10, thanks!
works on “Ubuntu 20.04 LTS”