Installation

How to upgrade Splunk on another directory?

chengyu
Path Finder

Hi, my splunk install on /home/splunk, i have try rpm -i -Uvh --prefix=/home splunk-6.5.3-36937ad027d4-linux-2.6-x86_64.rpm, but show "package splunk-6.5.3-36937ad027d4.x86_64 is already installed". i need remove splunk than re-install? thanks.

Labels (1)
Tags (1)
0 Karma
1 Solution

chengyu
Path Finder

Hi, i find the answer, command:

rpm -Uvh splunk-6.5.3.xxx.rpm --relocate /opt=/home

/opt director is default install path, /home is you change path

View solution in original post

0 Karma

chengyu
Path Finder

Hi, i find the answer, command:

rpm -Uvh splunk-6.5.3.xxx.rpm --relocate /opt=/home

/opt director is default install path, /home is you change path

0 Karma

chengyu
Path Finder

rpm -Uvh --force splunk-6.5.3.xxx.rpm --relocate /opt=/home

0 Karma

asimagu
Builder

To upgrade Splunk, you never need to uninstall it and reinstall it again. That's why it´s called an upgrade 😉

First, I would check the list of installed packages.

If you're running Ubuntu 14:
apt list --installed

For older versions:
dpkg --get-selections | grep

If you are running other systems, just try to locate the right commands.

I would also try to make sure that you don´t have any other splunk instances in that machine.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...