Uninstall elsticsearch on centOS


(Vatsal Patel) #1

Hi,
I have install elasticsearch 2.2.0 but then i realize that there is not couch-base transport plugin for this version.How can i uninstall this version so i can install ES-2.1.1. Thank you.
I have removed all the directories from all the ES folders such as.

/usr/share/elasticsearch
/etc/elasticsearch
/etc/sysconfig/elasticsearch

When i reinstall ES-2.1.1, I got below message.

Package elasticsearch-2.2.0-1.noarch already installed and latest version
Nothing to do


(Magnus B├Ąck) #2

To uninstall software installed with RPM or some other package management system, do not just delete files. Uninstall by using the package management system.


(Vatsal Patel) #3

Hi,
Thank you for replying.Can you please how to uninstall with package management,like i have install on cent Os with

yum install elasticsearch
.Thank you.


(Mark Walkom) #4

yum remove elasticsearch should do it.


(Vatsal Patel) #5

Thank you so much


(system) #6