# Installing ElasticSearch on Mac OS X

**URL:** <https://discuss.elastic.co/t/installing-elasticsearch-on-mac-os-x/4962>\
**Category:** Elasticsearch\
**Created:** [July 26, 2011, 7:55am UTC](https://discuss.elastic.co/t/installing-elasticsearch-on-mac-os-x/4962 "2011-07-26T07:55:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pawel\_Krakowiak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pawel_krakowiak/32/2615_2.png) [@Pawel\_Krakowiak](https://discuss.elastic.co/u/Pawel_Krakowiak)\
**Post date:** [July 26, 2011, 7:55am UTC](https://discuss.elastic.co/t/installing-elasticsearch-on-mac-os-x/4962/1 "2011-07-26T07:55:34Z")

</div>

I just installed ES on Mac OS X using Homebrew and got a warning near  
the end:

Warning: JARs were installed to "lib".  
Installing JARs to "lib" can cause conflicts between packages.  
For Java software, it is typically better for the formula to  
install to "libexec" and then symlink or wrap binaries into "bin".  
See "activemq", "jruby", etc. for examples.

I have no idea about that and just started using a Mac, don't know if  
that's important nor whether it should be reported here or somewhere  
else, but I just want to notify you.

---

<div class="post-metadata">

**Author:** ![fucema](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fucema/32/3160_2.png) [@fucema](https://discuss.elastic.co/u/fucema)\
**Post date:** [July 26, 2011, 8:07am UTC](https://discuss.elastic.co/t/installing-elasticsearch-on-mac-os-x/4962/2 "2011-07-26T08:07:25Z")

</div>

Personally, I don't think you need to use Homebrew or any management package to install ElasticSearch. It's simple enough to untar, mv to /usr/local and then sudo ln -s ... cd elasticsearch; bin/elasticsearch -f

EDIT:  
wget [https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.17.1.tar.gz](https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.17.1.tar.gz)  
tar zxvf elasticsearch-0.17.1.tar.gz  
sudo mv elasticsearch-0.17.1 /usr/local  
cd /usr/local  
sudo ln -s elasticsearch-0.17.1 elasticsearch  
cd elasticsearch  
bin/elasticsearch -f

voila

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [July 26, 2011, 8:14am UTC](https://discuss.elastic.co/t/installing-elasticsearch-on-mac-os-x/4962/3 "2011-07-26T08:14:39Z")

</div>

Needs to be checked, I thought it was fixed (the warning) already in latest  
recipes of elasticsearch, if someone is up to it, it would be great 🙂

On Tue, Jul 26, 2011 at 10:55 AM, Pawel Krakowiak \<[pawel.krakowiak@gmail.com](mailto:pawel.krakowiak@gmail.com)

> wrote:

> I just installed ES on Mac OS X using Homebrew and got a warning near  
> the end:
> 
> Warning: JARs were installed to "lib".  
> Installing JARs to "lib" can cause conflicts between packages.  
> For Java software, it is typically better for the formula to  
> install to "libexec" and then symlink or wrap binaries into "bin".  
> See "activemq", "jruby", etc. for examples.
> 
> I have no idea about that and just started using a Mac, don't know if  
> that's important nor whether it should be reported here or somewhere  
> else, but I just want to notify you.

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [July 26, 2011, 4:16pm UTC](https://discuss.elastic.co/t/installing-elasticsearch-on-mac-os-x/4962/4 "2011-07-26T16:16:31Z")

</div>

I agree. There is no make/configure process with Elastic Search, so the  
need for a yum/apt/homebrew is not great.

In addition, there are many breaking index changes with newer versions of  
ES, particularly due to Lucene upgrades, so I would not be too quick in  
rolling out server updates.

--  
Ivan

On Tue, Jul 26, 2011 at 4:07 AM, fucema [fucema@gmail.com](mailto:fucema@gmail.com) wrote:

> Personally, I don't think you need to use Homebrew or any management  
> package  
> to install Elasticsearch. It's simple enough to untar, mv to /usr/local and  
> then sudo ln -s ... cd elasticsearch; bin/elasticsearch -f
> 
> --  
> View this message in context:  
> [http://elasticsearch-users.115913.n3.nabble.com/Installing-ElasticSearch-on-Mac-OS-X-tp3199715p3199738.html](http://elasticsearch-users.115913.n3.nabble.com/Installing-ElasticSearch-on-Mac-OS-X-tp3199715p3199738.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<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 6, 2017, 3:59am UTC](https://discuss.elastic.co/t/installing-elasticsearch-on-mac-os-x/4962/5 "2017-07-06T03:59:15Z")

</div>


