Installation de Packer

You are here:
← All Topics

Add the HashiCorp GPG key.

$ curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -

Add the official HashiCorp Linux repository.

$ sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"

Update and install.

$ sudo apt-get update && sudo apt-get install packer

TIP: Now that you have added the HashiCorp repository, you can install TerraformVaultConsul, and Nomad with the same command.

»Verifying the Installation

After installing Packer, verify the installation worked by opening a new command prompt or console, and checking that packer is available: