Installation

How do I know if my Splunk uninstall was successful on CentOS?

cebo_myeza
Path Finder

I am asking this because i did the uninstall using the following commands on centos

Run the following command to find the correct package name.
rpm -q -a | grep -i splunk

Pass the result to the rpm -e command
"rpm -e splunk-6.2.2-255606"

but after the uninstall, I still see the /opt/splunk/ directory on my system.

thanks please help

Tags (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

If a subsequent rpm -q -a command does not show Splunk, then it is uninstalled. You can then clean up the Splunk directory using rm -rf /opt/splunk. If your Splunk DB is not under /opt/splunk then you will have to delete it with a separate command.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

If a subsequent rpm -q -a command does not show Splunk, then it is uninstalled. You can then clean up the Splunk directory using rm -rf /opt/splunk. If your Splunk DB is not under /opt/splunk then you will have to delete it with a separate command.

---
If this reply helps you, Karma would be appreciated.

cebo_myeza
Path Finder

thank you richgalloway

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...