# How can i build one linux version plugins

**URL:** <https://discuss.elastic.co/t/how-can-i-build-one-linux-version-plugins/196628>\
**Category:** Kibana\
**Created:** [August 24, 2019, 4:31pm UTC](https://discuss.elastic.co/t/how-can-i-build-one-linux-version-plugins/196628 "2019-08-24T16:31:13Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuohaibei](https://avatars.discourse-cdn.com/v4/letter/t/c6cbf5/32.png) [@tuohaibei](https://discuss.elastic.co/u/tuohaibei)\
**Post date:** [August 24, 2019, 4:31pm UTC](https://discuss.elastic.co/t/how-can-i-build-one-linux-version-plugins/196628/1 "2019-08-24T16:31:13Z")

</div>

Currently I am on the windows10 system, running kibana7.2.1. When I run the yarn build in my plugin directory, I only have the .zip folder after packaging. I want to package the linux version of the plugin. How to pack?

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [August 25, 2019, 5:13pm UTC](https://discuss.elastic.co/t/how-can-i-build-one-linux-version-plugins/196628/2 "2019-08-25T17:13:53Z")

</div>

I think there is only one version of your plugins, independently from the running system.  
The zip file should work on linux/win/mac versions of kibana the same way

> **[elastic/kibana](https://github.com/elastic/kibana/tree/master/packages/kbn-plugin-helpers/tasks/build)**
>
> Your window into the Elastic Stack. Contribute to elastic/kibana development by creating an account on GitHub.

  
During the installation, the build system will take care of installing the os specific dependency if needed.

---

<div class="post-metadata">

**Author:** ![tuohaibei](https://avatars.discourse-cdn.com/v4/letter/t/c6cbf5/32.png) [@tuohaibei](https://discuss.elastic.co/u/tuohaibei)\
**Post date:** [August 25, 2019, 5:44pm UTC](https://discuss.elastic.co/t/how-can-i-build-one-linux-version-plugins/196628/3 "2019-08-25T17:44:40Z")

</div>

do you mean i can install .zip pacakge on linux?

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [August 25, 2019, 7:35pm UTC](https://discuss.elastic.co/t/how-can-i-build-one-linux-version-plugins/196628/4 "2019-08-25T19:35:43Z")

</div>

Yes exactly

---

<div class="post-metadata">

**Author:** ![tuohaibei](https://avatars.discourse-cdn.com/v4/letter/t/c6cbf5/32.png) [@tuohaibei](https://discuss.elastic.co/u/tuohaibei)\
**Post date:** [August 26, 2019, 2:36am UTC](https://discuss.elastic.co/t/how-can-i-build-one-linux-version-plugins/196628/5 "2019-08-26T02:36:34Z")

</div>

But when I saw the following link, it explained that .zip is only suitable for windows. Is it that the kibana installation package is like this, but the plugin is different?

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [August 26, 2019, 10:42am UTC](https://discuss.elastic.co/t/how-can-i-build-one-linux-version-plugins/196628/6 "2019-08-26T10:42:13Z")

</div>

Can you share that link?

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [August 26, 2019, 10:42am UTC](https://discuss.elastic.co/t/how-can-i-build-one-linux-version-plugins/196628/7 "2019-08-26T10:42:37Z")

</div>

The kibana installation package is OS dependant, but not the plugins.  
If you check for example this third party plugin you will see that existing only one version of it: [https://github.com/fbaligand/kibana-enhanced-table](https://github.com/fbaligand/kibana-enhanced-table)

---

<div class="post-metadata">

**Author:** ![tuohaibei](https://avatars.discourse-cdn.com/v4/letter/t/c6cbf5/32.png) [@tuohaibei](https://discuss.elastic.co/u/tuohaibei)\
**Post date:** [August 26, 2019, 5:07pm UTC](https://discuss.elastic.co/t/how-can-i-build-one-linux-version-plugins/196628/8 "2019-08-26T17:07:45Z")

</div>

OK,thanks.i will try to install .zip plugins at linux tomorrow.

---

<div class="post-metadata">

**Author:** ![tuohaibei](https://avatars.discourse-cdn.com/v4/letter/t/c6cbf5/32.png) [@tuohaibei](https://discuss.elastic.co/u/tuohaibei)\
**Post date:** [August 27, 2019, 5:31pm UTC](https://discuss.elastic.co/t/how-can-i-build-one-linux-version-plugins/196628/9 "2019-08-27T17:31:30Z")

</div>

Thanks,i have installed the plugin package(.zip).it could install at linux and could work.

---

<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:** [September 24, 2019, 5:31pm UTC](https://discuss.elastic.co/t/how-can-i-build-one-linux-version-plugins/196628/10 "2019-09-24T17:31:34Z")

</div>

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