Install Rudder Agent on SLES

Following commands are executed as the root user.

[Warning]Warning

You may encounter a segmentation fault in Zypper in the following cases:

  • On SLES 11 when trying to install Rudder rpm files locally with Zypper (for example with zypper install rudder-agent-version.release-1.SLES.11.x86_64.rpm)
  • On SLES 12 GA when installing Rudder packages, locally or from the repository

This is due to a bug (bnc#929483 on SuSE bugtracker) in Zypper’s RPM headers parsing. You can either:

  • Only for SLES 11, install the packages directly from the repository, as described below
  • Upgrade your libzypp package to a version including the fix provided by SuSE (upgrade for SLES11SP3 and for SLES12)
  • Use the rpm command to install packages locally (for example with rpm -i rudder-agent-version.release-1.SLES.11.x86_64.rpm)

Each package that is published by Rudder Project is signed with our GPG signature. To ensure the packages you will install are official builds and have not been altered, import our key into rpm using the following command:

rpm --import https://www.rudder-project.org/rpm-repos/rudder_rpm_key.pub

Our key fingerprint is:

pub  1024R/6F07D355 2012-11-09 Rudder Project (RPM release key) <security@rudder-project.org>
      Key fingerprint = 1141 A947 CDA0 4E83 82C1  B9C4 ADAB 3BD3 6F07 D355

Then add the Rudder packages repository:

  • on SLES 12:
zypper ar -n 'Rudder SLES 12 repository' http://www.rudder-project.org/rpm-3.2/SLES_12/ Rudder
  • on SLES 11:
zypper ar -n 'Rudder SLES repository' http://www.rudder-project.org/rpm-3.2/SLES_11_SP1/ Rudder
  • on SLES 10:
zypper sa 'http://www.rudder-project.org/rpm-3.2/SLES_10_SP3/' Rudder

Update your local package database to retrieve the list of packages available on our repository:

zypper ref

Install the rudder-agent package:

zypper install rudder-agent
[Tip]Tip

The use the the rug package manager on SLES 10 is strongly discouraged, due to poor performance and possible stability issues.