# Unable to Install Xpack on ElasticSearch and Kibana

**URL:** <https://discuss.elastic.co/t/unable-to-install-xpack-on-elasticsearch-and-kibana/83827>\
**Category:** Kibana\
**Created:** [April 27, 2017, 9:13am UTC](https://discuss.elastic.co/t/unable-to-install-xpack-on-elasticsearch-and-kibana/83827 "2017-04-27T09:13:46Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam67000](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@Sam67000](https://discuss.elastic.co/u/Sam67000)\
**Post date:** [April 27, 2017, 9:13am UTC](https://discuss.elastic.co/t/unable-to-install-xpack-on-elasticsearch-and-kibana/83827/1 "2017-04-27T09:13:46Z")

</div>

Hella EveryOne ,

I need help to install x-pack plugin.  
When I try to install it on elasticSearch with the following command : bin/elasticsearch-plugin install x-pack, that put me this :

 ![](https://us1.discourse-cdn.com/elastic/original/3X/8/d/8d0afcc4922562077a88ee2d7259ae0e5caf599a.png)

I do not know if the installation went well but when I go into the plugin file in the directory elasticsearch there is nothing.

Please help. Thannnnks

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 27, 2017, 9:25am UTC](https://discuss.elastic.co/t/unable-to-install-xpack-on-elasticsearch-and-kibana/83827/2 "2017-04-27T09:25:52Z")

</div>

Don't post images please. Hard to read, copy and paste and comment.

Thanks!

Format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```
````

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 27, 2017, 9:26am UTC](https://discuss.elastic.co/t/unable-to-install-xpack-on-elasticsearch-and-kibana/83827/3 "2017-04-27T09:26:36Z")

</div>

You don't have access to internet from the command line apparently.

---

<div class="post-metadata">

**Author:** ![Sam67000](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@Sam67000](https://discuss.elastic.co/u/Sam67000)\
**Post date:** [April 27, 2017, 9:37am UTC](https://discuss.elastic.co/t/unable-to-install-xpack-on-elasticsearch-and-kibana/83827/4 "2017-04-27T09:37:14Z")

</div>

Okay. no problem.

My PC is connected to internet.

I downloaded the x-pack file and also tried to install it directly with the following command :  
elasticsearch-plugin install file:///  
But that returns the following error : "error elasticsearch directory is missing in the plugin zip".

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 27, 2017, 9:52am UTC](https://discuss.elastic.co/t/unable-to-install-xpack-on-elasticsearch-and-kibana/83827/5 "2017-04-27T09:52:37Z")

</div>

Where did you download the ZIP from and to?

Don't put the zip file in plugins dir but in any tmp dir you wish.

---

<div class="post-metadata">

**Author:** ![Sam67000](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@Sam67000](https://discuss.elastic.co/u/Sam67000)\
**Post date:** [April 27, 2017, 9:57am UTC](https://discuss.elastic.co/t/unable-to-install-xpack-on-elasticsearch-and-kibana/83827/6 "2017-04-27T09:57:25Z")

</div>

I downloaded it from this address : [https://artifacts.elastic.co/downloads/kibana-plugins/x-pack/x-pack-5.3.0.zip](https://artifacts.elastic.co/downloads/kibana-plugins/x-pack/x-pack-5.3.0.zip).  
I don't put him in the plugin directory. I left it in the download folder.

---

<div class="post-metadata">

**Author:** ![FardinBehboudi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fardinbehboudi/32/14906_2.png) [@FardinBehboudi](https://discuss.elastic.co/u/FardinBehboudi)\
**Post date:** [April 27, 2017, 10:07am UTC](https://discuss.elastic.co/t/unable-to-install-xpack-on-elasticsearch-and-kibana/83827/7 "2017-04-27T10:07:03Z")

</div>

the syntax should be like this :  
bin\elasticsearch-plugin install file:///C:\Users\zzfbehb\Downloads\x-pack-5.1.2.zip  
if there was peoblem maybe you have typo  
but as i remember for kibana you should use 2 // after file like this file:// (i used in 5.1 maybe it is resolved in 5.3)

---

<div class="post-metadata">

**Author:** ![Sam67000](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@Sam67000](https://discuss.elastic.co/u/Sam67000)\
**Post date:** [April 27, 2017, 11:23am UTC](https://discuss.elastic.co/t/unable-to-install-xpack-on-elasticsearch-and-kibana/83827/8 "2017-04-27T11:23:38Z")

</div>

Yes I have the same syntax but it doesn't work. They put me this :  
Downloading file :///C:\Users....\Downloads\x-pack-5.3.0.zip  
Error : "elasticsearch directory is missing in the plugin zip"

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 27, 2017, 12:19pm UTC](https://discuss.elastic.co/t/unable-to-install-xpack-on-elasticsearch-and-kibana/83827/9 "2017-04-27T12:19:22Z")

</div>

You downloaded the kibana version of the plugin.

[artifacts.elastic.co/downloads/](http://artifacts.elastic.co/downloads/) **kibana-plugins** /x-pack/x-pack-5.3.0.zip

---

<div class="post-metadata">

**Author:** ![Sam67000](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@Sam67000](https://discuss.elastic.co/u/Sam67000)\
**Post date:** [April 27, 2017, 1:22pm UTC](https://discuss.elastic.co/t/unable-to-install-xpack-on-elasticsearch-and-kibana/83827/10 "2017-04-27T13:22:28Z")

</div>

Yes indeed that was the problem. I managed to install it now thank you very much !!!

---

<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:** [May 25, 2017, 1:31pm UTC](https://discuss.elastic.co/t/unable-to-install-xpack-on-elasticsearch-and-kibana/83827/11 "2017-05-25T13:31:14Z")

</div>

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