# Uninstalling elasticsearch

**URL:** <https://discuss.elastic.co/t/uninstalling-elasticsearch/22414>\
**Category:** Elasticsearch\
**Created:** [February 26, 2015, 5:45pm UTC](https://discuss.elastic.co/t/uninstalling-elasticsearch/22414 "2015-02-26T17:45:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Austin\_Harmon](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@Austin\_Harmon](https://discuss.elastic.co/u/Austin_Harmon)\
**Post date:** [February 26, 2015, 5:45pm UTC](https://discuss.elastic.co/t/uninstalling-elasticsearch/22414/1 "2015-02-26T17:45:12Z")

</div>

Hello,

I have downloaded elasticsearch v. 1.3.2 and am looking to uninstall it  
because I downloaded it on my root directory and not in the bin folder.

I am trying to use the attachments plugin and can't get it to work. I also  
don't have the plugin command that elasticsearch comes with. I'm not sure  
if this is because of the version or if it is a by product of not  
downloading it to the bin directory.

Either way I should downloaded to the bin directory to avoid future  
problems.

My OS is Ubuntu Server 14.04, I downloaded a debian package, I used sudo  
apt-get to orginally download the debian file.

I've done a could installs of elasticsearch now and I deleted all the files  
before and tried to reinstall and ran into a bunch of problems. I really  
don't want to reinstall the OS but I'm not sure how to do a clean uninstall  
of elasticsearch.

The files I know of:  
~/elasticsearch-1.3.2.deb  
~/etc/elasticsearch/ elasticsearch.yml and logging.yml  
/var/lib/elasticsearch/elasticsearch/nodes/0 indices(empty directory)  
node.lock \_state(containes global-13)  
/var/log/elasticsearch a bunch of .log.date files  
/tmp/elasticsearch (empty directory)  
/tmp/hsperfdata\_elasticsearch 4352

Thats all I could find.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/776d3d58-e934-49b9-9549-f11b2359d1f9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/776d3d58-e934-49b9-9549-f11b2359d1f9%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 27, 2015, 12:09am UTC](https://discuss.elastic.co/t/uninstalling-elasticsearch/22414/2 "2015-02-27T00:09:36Z")

</div>

If you downloaded to /root and then extracted and run it there, you can  
just delete the whole directory you extracted.  
That will delete the data as well, so be aware of this.

On 27 February 2015 at 04:45, Austin Harmon [aharmon2165@gmail.com](mailto:aharmon2165@gmail.com) wrote:

> Hello,
> 
> I have downloaded elasticsearch v. 1.3.2 and am looking to uninstall it  
> because I downloaded it on my root directory and not in the bin folder.
> 
> I am trying to use the attachments plugin and can't get it to work. I also  
> don't have the plugin command that elasticsearch comes with. I'm not sure  
> if this is because of the version or if it is a by product of not  
> downloading it to the bin directory.
> 
> Either way I should downloaded to the bin directory to avoid future  
> problems.
> 
> My OS is Ubuntu Server 14.04, I downloaded a debian package, I used sudo  
> apt-get to orginally download the debian file.
> 
> I've done a could installs of elasticsearch now and I deleted all the  
> files before and tried to reinstall and ran into a bunch of problems. I  
> really don't want to reinstall the OS but I'm not sure how to do a clean  
> uninstall of elasticsearch.
> 
> The files I know of:  
> ~/elasticsearch-1.3.2.deb  
> ~/etc/elasticsearch/ elasticsearch.yml and logging.yml  
> /var/lib/elasticsearch/elasticsearch/nodes/0 indices(empty directory)  
> node.lock \_state(containes global-13)  
> /var/log/elasticsearch a bunch of .log.date files  
> /tmp/elasticsearch (empty directory)  
> /tmp/hsperfdata\_elasticsearch 4352
> 
> Thats all I could find.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/776d3d58-e934-49b9-9549-f11b2359d1f9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/776d3d58-e934-49b9-9549-f11b2359d1f9%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/776d3d58-e934-49b9-9549-f11b2359d1f9%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/776d3d58-e934-49b9-9549-f11b2359d1f9%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X-EgnibHyKS%2BeqA-qFbAG3HTY0Ae5M-zpmHC12tP7MBqg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X-EgnibHyKS%2BeqA-qFbAG3HTY0Ae5M-zpmHC12tP7MBqg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:29am UTC](https://discuss.elastic.co/t/uninstalling-elasticsearch/22414/3 "2017-07-06T00:29:41Z")

</div>


