Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
b6987615
Commit
b6987615
authored
Jun 21, 2013
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
website: installing packer
parent
0bfd7d28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
0 deletions
+55
-0
website/source/intro/getting-started/setup.html.markdown
website/source/intro/getting-started/setup.html.markdown
+55
-0
No files found.
website/source/intro/getting-started/setup.html.markdown
0 → 100644
View file @
b6987615
---
layout
:
"
intro"
page_title
:
"
Install
Packer"
prev_url
:
"
/intro/platforms.html"
next_url
:
"
/intro/getting-started/build-image.html"
next_title
:
"
Build
an
Image"
---
# Install Packer
Packer must first be installed on the machine you want to run it on.
To make installation easy, Packer is distributed as a
[
binary package
](
#
)
for all supported platforms and architectures. This page will not cover how
to compile Packer from source, as that is covered in the
[
README
](
https://github.com/mitchellh/packer/blob/master/README.md
)
and is only
recommended for advanced users.
## Installing Packer
To install packer, first find the
[
appropriate package
](
#
)
for your system and download it. Packer is packaged as a "zip" file.
Next, unzip the downloaded package into a directory where Packer will be
installed. On Unix systems,
`~/packer`
or
`/usr/local/packer`
is generally good,
depending on whether you want to restrict the install to just your user
or install it system-wide. On Windows systems, you can put it whereever you'd
like.
After unzipping the package, the directory should contain a set of binary
programs, such as
`packer`
,
`packer-build-amazon-ebs`
, etc. The final step
to installation is to make sure the directory you installed Packer to
is on the PATH. See
[
this page
](
http://stackoverflow.com/questions/14637979/how-to-permanently-set-path-on-linux
)
for instructions on setting the PATH on Linux and Mac.
[
This page
](
http://stackoverflow.com/questions/1618280/where-can-i-set-path-to-make-exe-on-windows
)
contains instructions for setting the PATH on Windows.
## Verifying the Installation
After installing Packer, verify the installation worked by opening
a new command prompt or console, and checking that
`packer`
is available:
```
$ packer
usage: packer [--version] [--help] <command> [<args>]
Available commands are:
build build image(s) from template
validate check that a template is valid
```
If you get an error that
`packer`
could not be found, then your PATH
environmental variable was not setup properly. Please go back and ensure
that yoru PATH variable contains the directory which has Packer installed.
Otherwise, Packer is installed and you're ready to go!
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment