# How to install X-pack with "basic license" for ES6.3+? Is the "trial license" mandatory?

**URL:** <https://discuss.elastic.co/t/how-to-install-x-pack-with-basic-license-for-es6-3-is-the-trial-license-mandatory/158599>\
**Category:** Kibana\
**Created:** [November 28, 2018, 3:04pm UTC](https://discuss.elastic.co/t/how-to-install-x-pack-with-basic-license-for-es6-3-is-the-trial-license-mandatory/158599 "2018-11-28T15:04:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aguyinmontreal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aguyinmontreal/32/37784_2.png) [@aguyinmontreal](https://discuss.elastic.co/u/aguyinmontreal)\
**Post date:** [November 28, 2018, 3:04pm UTC](https://discuss.elastic.co/t/how-to-install-x-pack-with-basic-license-for-es6-3-is-the-trial-license-mandatory/158599/1 "2018-11-28T15:04:07Z")

</div>

Since ES6.3, it is impossible to install or uninstall x-pack. It's built-in to the default distribution.

So, how to set up the installation process in order to reject the "trial" license? Before we were able to set `xpack.license.self_generated.type: basic` in elasticsearch.yml. But now, there's no elasticsearch.yml since X-pack is installed at the same time as Elasticsearch.

I can't find info on what we need to do anywhere.

---

<div class="post-metadata">

**Author:** ![aguyinmontreal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aguyinmontreal/32/37784_2.png) [@aguyinmontreal](https://discuss.elastic.co/u/aguyinmontreal)\
**Post date:** [November 28, 2018, 3:12pm UTC](https://discuss.elastic.co/t/how-to-install-x-pack-with-basic-license-for-es6-3-is-the-trial-license-mandatory/158599/2 "2018-11-28T15:12:25Z")

</div>

Ok! Got my answer here [https://github.com/elastic/kibana/issues/8818#issuecomment-442479205](https://github.com/elastic/kibana/issues/8818#issuecomment-442479205)

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [November 28, 2018, 4:17pm UTC](https://discuss.elastic.co/t/how-to-install-x-pack-with-basic-license-for-es6-3-is-the-trial-license-mandatory/158599/3 "2018-11-28T16:17:22Z")

</div>

Thanks for sharing your answer @aguyinmontreal, it's helpful to others that have a similar problem.

---

<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 26, 2018, 4:17pm UTC](https://discuss.elastic.co/t/how-to-install-x-pack-with-basic-license-for-es6-3-is-the-trial-license-mandatory/158599/4 "2018-12-26T16:17:25Z")

</div>

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