packer_logo

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.

Steps

  1. Browse to https://www.packer.io/downloads.html. Look for the Linux section, right click on the 64-bit option and select Copy link addressHow to install packer on Ubuntu 18.04
  2. Next go to your Ubuntu terminal and input
    wget and paste the url you just copied
  3. You now should have a zipped version of the packer package in you Downloads directory.list packer
  4. Unzip this packageunzip packer
  5. Next move the binary to /usr/local/bin
    sudo mv packer /usr/local/bin/
    move packer
  6. To confirm a successful install type packer in your terminal and you should see something like the following
    confirm packer install
    That's it, packer should now be installed and ready for use.Leave a comment below if this worked for you or not.

3 Comments

  1. J Leigh on April 19, 2020 at 11:58 pm

    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

  2. Igor Garmash on May 5, 2020 at 7:32 pm

    Works perfectly on Ubuntu 19.10, thanks!

    • Peter on May 5, 2020 at 8:25 pm

      Great!

Leave a Comment