Installing Veeam Agent for Linux with Kernel Module

To install Veeam Agent, you can use a package manager of your choice that works with software packages in your Linux distribution.

NOTE

Some dependency packages of the prerequisite software may require special handling. For details, see Managing Package Dependencies.

To install Veeam Agent for Linux, use the following commands:

For CentOS 7 / RHEL / Fedora

yum install veeam

 

NOTE

[For CentOS 7 / 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

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

  • [For CentOS 7 / RHEL 6 – 8] yum install kmod-veeamsnap veeam / [For RHEL 9] yum install kmod-blksnap veeam

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

For Oracle Linux 6 – 8

yum install veeamsnap

yum install veeam

NOTE

If your system runs on Oracle Linux 8.x with UEK R7 kernel, you may need to rebuild the Veeam kernel module prior to its installation. For more information, see this Veeam KB article.

For Oracle Linux 9

yum install blksnap

yum install veeam

For openSUSE Tumbleweed

zypper in veeam

For openSUSE Leap 15.3 with default kernel, Leap 15.4 and 15.5

zypper in blksnap-kmp-default
zypper in veeam

For openSUSE Leap 15.3 with preemptive kernel

zypper in blksnap-kmp-preempt
zypper in veeam

For SLES 12 SP4 – SP5, 15 SP1 – SP2 with default kernel

zypper in veeamsnap-kmp-default
zypper in veeam

For SLES 12 SP4 – SP5, 15 SP1 – SP2 with preemptive kernel

zypper in veeamsnap-kmp-preempt
zypper in veeam

For SLES 15 SP3 with default kernel, 15 SP4 and SP5

zypper in blksnap-kmp-default
zypper in veeam

For SLES 15 SP3 with preemptive kernel

zypper in blksnap-kmp-preempt
zypper in veeam

 

For Debian 10 / Ubuntu 16.04, 18.04 and 20.04 (kernel 5.4)

apt-get install veeam

For Debian 11 – 12.2 / Ubuntu 22.04, 22.10, 23.04 and 23.10

apt-get install blksnap veeam

 

 

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 SUSE documentation.