I agree, it's not a great way.... but it is key to run the correct uninstall command because the Agent Gets installed in /opt/Elastic/Agent, so the uninstall needs to run from there... hopefully that makes sense...
if you try to run it from the directory that you untarred into that will not work for sure and leave you in an inconsistent state...
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.