Upgrade the Collector for Linux

Upgrade the Splunk Distribution of OpenTelemetry Collector for Linux.

Upgrade the Collector for Linux

Run the following commands on your system to upgrade the Collector. It requires root privileges:

Debian

debian
BASH
sudo apt-get update
sudo apt-get install --only-upgrade splunk-otel-collector
Note: If the default configuration files in /etc/otel/collector have been modified after the initial installation, you might be prompted to keep the existing files or overwrite the files from the new package.

RPM

The package managers are yum, dnf, and zypper.

yum
BASH
sudo yum upgrade splunk-otel-collector
dnf
BASH
sudo dnf upgrade splunk-otel-collector
zypper
BASH
sudo zypper refresh
sudo zypper update splunk-otel-collector
Note: If the default configuration files in /etc/otel/collector have been modified after initial installation, the existing files are preserved and the files from the new package can be installed with an .rpmnew extension.