This is an archive version of the document. To get the most up-to-date information, see the current version.

Installing Veeam Agent for Linux

Installing Veeam Agent for Linux Note:

To make UEFI systems with Secure Boot work with the pre-built veeamsnap kernel module, you need to enroll the Veeam public key to the MOK list using the mokutil utility. The key is available in the veeamsnap-ueficert-4.0.1.2365-1.noarch package residing on the Veeam repository. To enroll the key:

  1. Request the enrollment of the public key with the following command: mokutil --import veeamsnap-ueficert.crt.
  2. Reboot the Veeam Agent computer and complete the enrollment in the UEFI console.

To install Veeam Agent for Linux:

  1. Download the Veeam software repository installation package (veeam-release) from the Veeam Download page, and save the downloaded package on the computer where you plan to install the product.

 

Installing Veeam Agent for Linux Tip:

If the computer where you want to install Veeam Agent for Linux is not connected to the internet, you can download and install Veeam Agent for Linux packages manually. To learn more, see Installing Veeam Agent for Linux in Offline Mode.

  1. Navigate to the directory where you have saved the veeam-release package and install the package with the following commands:

For CentOS / RHEL / Oracle Linux / Fedora

rpm -ivh ./veeam-release* && yum check-update

For openSUSE / SLES

zypper in ./veeam-release* && zypper refresh

For Debian / Ubuntu

dpkg -i ./veeam-release* && apt-get update

  1. Install Veeam Agent for Linux packages from the Veeam software repository. To install Veeam Agent for Linux, you can use a package manager of your choice that works with software packages in your Linux distribution. For example, use the following commands:

For CentOS / RHEL / Fedora

yum install veeam-4.0.1.2365 veeamsnap-4.0.1.2365

Installing Veeam Agent for Linux Note:

[For CentOS / RHEL] If the dkms package is already installed in the OS, you can install Veeam Agent with one of the following commands:

  • yum install veeam-4.0.1.2365

With this command, the veeamsnap kernel module will be installed from the source RPM package using dkms.

  • yum install kmod-veeamsnap-4.0.1.2365 veeam-4.0.1.2365

With this command, the non-DKMS version of the veeamsnap kernel module will be installed from the pre-built kmod-veeamsnap binary package.

For Oracle Linux

yum install veeamsnap-4.0.1.2365
yum install veeam-4.0.1.2365

For openSUSE Tumbleweed

zypper in veeam=4.0.1.2365-1.suse veeamsnap=4.0.1.2365-1.sles

For openSUSE Leap 15.2

zypper in veeamsnap-kmp-default=4.0.1.2365_k5.3.18_lp152.19-2
zypper in veeam=4.0.1.2365-1.suse

For SLES with Default kernel

zypper in veeamsnap-kmp-default=4.0.1.2365_<version>*
zypper in veeam=4.0.1.2365-1.sles12

For SLES with Trace kernel

zypper in veeamsnap-kmp-trace=4.0.1.2365_<version>*
zypper in veeam=4.0.1.2365-1.sles12

For SLES with Xen kernel

zypper in veeamsnap-kmp-xen=4.0.1.2365_<version>*
zypper in veeam=4.0.1.2365-1.sles12

For SLES with PAE kernel

zypper in veeamsnap-kmp-pae=4.0.1.2365_<version>*
zypper in veeam=4.0.1.2365-1.sles12

For Debian / Ubuntu

apt-get install veeam=4.0.1.2365 veeamsnap=4.0.1.2365

*where <version> is the package version according to the SLES distribution version that you use. To learn the package version, see the Veeam software repository.

 

Managing Package Dependencies

The following dependency packages may require special handling in case you see installation errors:

For SLES, the dkms package is not available in the Packman repository. You must use the package intended for openSUSE. To learn more, see this Veeam KB article.

  • Extended kernels, such as kernel-pae, kernel-uek and other, require appropriate kernel-devel packages to be installed, for example, kernel-pae-devel, kernel-uek-devel, and so on.

Version of the kernel-devel package must match your current kernel version. To check your current kernel version, run the uname -r command.

[For RHEL and derivatives] If the yum package manager installs packages that do not match your current kernel version, you should either update your system or fetch older versions of the required packages from the CentOS Vault repository.

Installing dkms in openSUSE

In openSUSE systems, while installing the dkms package, you may see an error similar to the following:

Problem: nothing provides kernel-devel needed by dkms-2.2.0.3-14.1.noarch
Solution 1: do not install dkms-2.2.0.3-14.1.noarch
Solution 2: break dkms-2.2.0.3-14.1.noarch by ignoring some of its dependencies

To install the dkms package, do the following:

  1. Make sure that you have an appropriate kernel-devel package installed and its version matches your kernel version. For example:

root@localhost:~> rpm -qa | grep kernel-default
kernel-default-devel-3.0.101-91.1
kernel-default-3.0.101-91.1

  1. Install the dkms package ignoring dependencies:

zypper -n install --force dkms

  1. Make sure that you have allowed unsupported modules. To learn more, see this SUSE webpage.