Having issues installing ElasticSearch

I just ran rm -rf /etc/elasticsearch after doing yum remove elasticsearch and now the directory and files are gone so I should be safe to try to reinstall now correct?