From the course: Learning HashiCorp Packer
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Installing Packer - Packer Tutorial
From the course: Learning HashiCorp Packer
Installing Packer
- [Instructor] Packer is a single binary with different versions compiled for different operating systems. So when you go to the download page, be sure to download the version that matches your operating system. I'm using Linux, the 64-bit version, so I'm gonna copy this URL right here. And then I'm gonna go over to the terminal and I'm going to use something like wget or curl to download it to my local machine. And once it's downloaded, I'm going to unzip the file, and then I'm going to move the Packer file into a directory that's on my path. For me, I'm going to use a local bin. So sudo mv packer, that's the file we're moving, /usr/local/bin/. And now we have Packer available to us. On Mac you can use brew, with brew install packer. And on Windows you can download the Windows binary and stick it somewhere else that's on your path and it will just work. You can also use Docker. So you don't have to install it locally. So we can do that by running docker -i -t using the image, which…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.