Uninstalling the Wazuh central components
Follow these steps to uninstall the Wazuh central components using the Wazuh installation assistant.
Download the Wazuh installation assistant:
# curl -sO https://packages-staging.xdrsiem.wazuh.info/pre-release/5.x/installation-assistant/wazuh-install-5.0.0-beta2.sh
Run the Wazuh installation assistant with the option
-uor--uninstallas follows:# bash wazuh-install-5.0.0-beta2.sh --uninstall
This will remove the Wazuh indexer, the Wazuh manager, and the Wazuh dashboard.
Uninstalling Wazuh components
Choose from the options below to uninstall a Wazuh component.
Uninstalling the Wazuh dashboard
Follow the step below to uninstall the Wazuh dashboard using your package manager.
Remove the Wazuh dashboard installation.
# apt-get remove --purge wazuh-dashboard -y
# yum remove wazuh-dashboard -y # rm -rf /var/lib/wazuh-dashboard/ # rm -rf /usr/share/wazuh-dashboard/ # rm -rf /etc/wazuh-dashboard/
# dnf remove wazuh-dashboard -y # rm -rf /var/lib/wazuh-dashboard/ # rm -rf /usr/share/wazuh-dashboard/ # rm -rf /etc/wazuh-dashboard/
Uninstalling the Wazuh manager
Follow these steps to uninstall the Wazuh manager using your package manager.
Remove the Wazuh manager installation.
# apt-get remove --purge wazuh-manager -y
# yum remove wazuh-manager -y # rm -rf /var/wazuh-manager/
# dnf remove wazuh-manager -y # rm -rf /var/wazuh-manager/
Uninstalling the Wazuh indexer
Follow the step below to uninstall the Wazuh indexer using your package manager.
Remove the Wazuh indexer installation.
# apt-get remove --purge wazuh-indexer -y
# yum remove wazuh-indexer -y # rm -rf /var/lib/wazuh-indexer/ # rm -rf /usr/share/wazuh-indexer/ # rm -rf /etc/wazuh-indexer/
# dnf remove wazuh-indexer -y # rm -rf /var/lib/wazuh-indexer/ # rm -rf /usr/share/wazuh-indexer/ # rm -rf /etc/wazuh-indexer/