# Why is (RPM) elasticsearch installed in /usr/share?

**URL:** <https://discuss.elastic.co/t/why-is-rpm-elasticsearch-installed-in-usr-share/60251>\
**Category:** Elasticsearch\
**Created:** [September 12, 2016, 5:22am UTC](https://discuss.elastic.co/t/why-is-rpm-elasticsearch-installed-in-usr-share/60251 "2016-09-12T05:22:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dandrestor](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@dandrestor](https://discuss.elastic.co/u/dandrestor)\
**Post date:** [September 12, 2016, 5:22am UTC](https://discuss.elastic.co/t/why-is-rpm-elasticsearch-installed-in-usr-share/60251/1 "2016-09-12T05:22:25Z")

</div>

I noticed that both Kibana and Logstash, the RPM versions, install by default in /opt. This is correct, imo.  
On the other hand, Elasticsearch installs by default in /usr/share. According to the [FHS](http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s11.html), this directory is for read-only architecture-independent data files.

Is there any particular reason for this? Will this change in the upcoming 5.0.0 release?

Best,  
Dan

**Update:** updated the FHS link to a more current version of the standard.

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [September 12, 2016, 11:44am UTC](https://discuss.elastic.co/t/why-is-rpm-elasticsearch-installed-in-usr-share/60251/2 "2016-09-12T11:44:33Z")

</div>

Logstash will also be installing into `/usr/share` in 5.0.

---

<div class="post-metadata">

**Author:** ![dandrestor](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@dandrestor](https://discuss.elastic.co/u/dandrestor)\
**Post date:** [September 12, 2016, 12:35pm UTC](https://discuss.elastic.co/t/why-is-rpm-elasticsearch-installed-in-usr-share/60251/3 "2016-09-12T12:35:34Z")

</div>

Do you know why? Was this just to have Logstash aligned to Elasticsearch?

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [September 12, 2016, 2:28pm UTC](https://discuss.elastic.co/t/why-is-rpm-elasticsearch-installed-in-usr-share/60251/4 "2016-09-12T14:28:19Z")

</div>

Yes. I believe all of the Elastic Stack will deploy to `/usr/share` in 5.0

---

<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:** [July 5, 2017, 10:21pm UTC](https://discuss.elastic.co/t/why-is-rpm-elasticsearch-installed-in-usr-share/60251/5 "2017-07-05T22:21:02Z")

</div>


