Unable to reinstall Elasticsearch

Hello

for various reasons I have to reinstall Elasticsearch. I have deleted the directories but there is something that is preventing a reinstall. I am getting message 'Package elasticsearch-5.6.3-1.noarch already installed and latest version. Nothing to do'.
What should I do to eliminate this dependancy

thanks

Loaded plugins: fastestmirror
elasticsearch-5.x | 1.3 kB 00:00:00
modeanalytics_main/x86_64/signature | 836 B 00:00:00
modeanalytics_main/x86_64/signature | 1.0 kB 00:00:00 !!!
modeanalytics_main-source/signature | 836 B 00:00:00
modeanalytics_main-source/signature | 951 B 00:00:00 !!!
elasticsearch-5.x/primary | 108 kB 00:00:00
Loading mirror speeds from cached hostfile

Are you using yum to delete it or just removing files?

Thanks for the reply.
I was simply deleting the files.
I tried yum reinstall and that worked.

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