Installation

Upgrade Splunk using RPM

csoh
Engager

Hi,

If Splunk is installed at /Splunk/splunk location, which option should I use to upgrade Splunk using RPM?
Is it rpm -U --prefix /Splunk or rpm -U --prefix /Splunk/splunk?

Thanks

Tags (2)

DavidHourani
Super Champion

Hello,

I don't know if you got your answer or not. But by default splunk is installed into /opt so if you installed in lets say /mnt/XX and you wish to update it, simply issue the following command:

rpm -Uvh splunk-6.0.2-196940-linux-2.6-x86_64.rpm --relocate /opt=/mnt/XX/

(The relocate part tells splunk to apply the update to /mnt/XX/ instead of /opt)

You can alose use the relocate part of the command to change the default install directory.

Best regards,
David

treinke
Builder

I typically download the rpm and then iussue:

rpm -Uvh splunk-X.X.X-XXXXXX-linux-2.6-x86_64.rpm

There are no answer without questions
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 ...