# Kibana build from source always include xpack

**URL:** <https://discuss.elastic.co/t/kibana-build-from-source-always-include-xpack/290678>\
**Category:** Kibana\
**Created:** [December 1, 2021, 2:13pm UTC](https://discuss.elastic.co/t/kibana-build-from-source-always-include-xpack/290678 "2021-12-01T14:13:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![salamani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/salamani/32/97901_2.png) [@salamani](https://discuss.elastic.co/u/salamani)\
**Post date:** [December 1, 2021, 2:13pm UTC](https://discuss.elastic.co/t/kibana-build-from-source-always-include-xpack/290678/1 "2021-12-01T14:13:02Z")

</div>

Hi,  
I am trying to build kibana 7.14.0 from source and would like to have only standard features (without the X-Pack feature). But somehow, I am to able to run  
yarn kbn bootstrap --oss, however yarn build --skip-os-packages --oss not possible as --oss is being removed.  
X-pack aways being built... how can I build without X-pack?  
Thank you so much!

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [December 1, 2021, 11:22pm UTC](https://discuss.elastic.co/t/kibana-build-from-source-always-include-xpack/290678/2 "2021-12-01T23:22:57Z")

</div>

Hi @salamani, according to [Kibana build from source always include xpack](https://discuss.elastic.co/t/kibana-build-from-source-always-include-xpack/181270) x-pack will be built, but it won't be included in the target. Could you please try this out and verify this addresses your concerns? Thanks!

---

<div class="post-metadata">

**Author:** ![salamani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/salamani/32/97901_2.png) [@salamani](https://discuss.elastic.co/u/salamani)\
**Post date:** [December 2, 2021, 1:56pm UTC](https://discuss.elastic.co/t/kibana-build-from-source-always-include-xpack/290678/3 "2021-12-02T13:56:00Z")

</div>

@cjcenizal Thank you for your reply.

[Kibana build from source always include xpack](https://discuss.elastic.co/t/kibana-build-from-source-always-include-xpack/181270) didn't help.

With PR [[build] Remove OSS builds by jbudz · Pull Request #103685 · elastic/kibana · GitHub](https://github.com/elastic/kibana/pull/103685) looks like --oss option is removed.

Thanks!

---

<div class="post-metadata">

**Author:** ![salamani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/salamani/32/97901_2.png) [@salamani](https://discuss.elastic.co/u/salamani)\
**Post date:** [December 14, 2021, 6:59am UTC](https://discuss.elastic.co/t/kibana-build-from-source-always-include-xpack/290678/4 "2021-12-14T06:59:18Z")

</div>

Any input on this will be very helpful.

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:** [January 11, 2022, 6:59am UTC](https://discuss.elastic.co/t/kibana-build-from-source-always-include-xpack/290678/5 "2022-01-11T06:59:51Z")

</div>

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