# Offline installation of X-Pack

**URL:** <https://discuss.elastic.co/t/offline-installation-of-x-pack/65316>\
**Category:** Elasticsearch\
**Created:** [November 8, 2016, 8:37am UTC](https://discuss.elastic.co/t/offline-installation-of-x-pack/65316 "2016-11-08T08:37:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticheart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticheart/32/65189_2.png) [@elasticheart](https://discuss.elastic.co/u/elasticheart)\
**Post date:** [November 8, 2016, 8:37am UTC](https://discuss.elastic.co/t/offline-installation-of-x-pack/65316/1 "2016-11-08T08:37:51Z")

</div>

I have downloaded `x-pack-5.0.0.zip`and extracted it in a folder like `/setup/x-pack-5.0.0.zip`. Here [https://www.elastic.co/guide/en/x-pack/5.0/installing-xpack.html#xpack-installing-offline](https://www.elastic.co/guide/en/x-pack/5.0/installing-xpack.html#xpack-installing-offline) I have seen the command;

```
bin/elasticsearch-plugin install x-pack

```

But how can I specify the folder here? I have tried;

```
./elasticsearch-plugin install /setup/x-pack-5.0.0/elasticsearch

```

but it says;

```
A tool for managing installed elasticsearch plugins

Commands
--------
list - Lists installed elasticsearch plugins
install - Install a plugin
remove - Removes a plugin from elasticsearch

Non-option arguments:
command

Option Description
------ -----------
-h, --help show help
-s, --silent show minimal output
-v, --verbose show verbose output
ERROR: Unknown plugin /setup/x-pack-5.0.0/elasticsearch

```

How can I fix this?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 8, 2016, 8:40am UTC](https://discuss.elastic.co/t/offline-installation-of-x-pack/65316/2 "2016-11-08T08:40:24Z")

</div>

There is nothing in the instructions around unzipping the file, you need to point the plugin command at the zip file instead.

---

<div class="post-metadata">

**Author:** ![elasticheart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticheart/32/65189_2.png) [@elasticheart](https://discuss.elastic.co/u/elasticheart)\
**Post date:** [November 8, 2016, 8:55am UTC](https://discuss.elastic.co/t/offline-installation-of-x-pack/65316/3 "2016-11-08T08:55:42Z")

</div>

It's showing error;

```
ERROR: Unknown plugin /setup/x-pack-5.0.0.zip
```

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 8, 2016, 8:56am UTC](https://discuss.elastic.co/t/offline-installation-of-x-pack/65316/4 "2016-11-08T08:56:25Z")

</div>

> [@elasticcloud](#):
>
> /setup/x-pack-5.0.0.zip

Is that the full path to the file?

---

<div class="post-metadata">

**Author:** ![elasticheart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticheart/32/65189_2.png) [@elasticheart](https://discuss.elastic.co/u/elasticheart)\
**Post date:** [November 8, 2016, 8:57am UTC](https://discuss.elastic.co/t/offline-installation-of-x-pack/65316/5 "2016-11-08T08:57:00Z")

</div>

yes it is

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 8, 2016, 8:59am UTC](https://discuss.elastic.co/t/offline-installation-of-x-pack/65316/6 "2016-11-08T08:59:47Z")

</div>

Per the docs, the command is `bin/elasticsearch-plugin install file:///path/to/file/x-pack-5.0.0.zip` So you need to do `bin/elasticsearch-plugin install file:///setup/x-pack-5.0.0.zip`.

You have not added the `file://` part.

---

<div class="post-metadata">

**Author:** ![elasticheart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticheart/32/65189_2.png) [@elasticheart](https://discuss.elastic.co/u/elasticheart)\
**Post date:** [November 8, 2016, 9:03am UTC](https://discuss.elastic.co/t/offline-installation-of-x-pack/65316/7 "2016-11-08T09:03:23Z")

</div>

That solved the problem. Thanks 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 6, 2016, 9:03am UTC](https://discuss.elastic.co/t/offline-installation-of-x-pack/65316/8 "2016-12-06T09:03:36Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
