xNIC dependencies

Prev Next

WHAT TO EXPECT

In this article, users will learn the dependencies for xNIC installation.

Required Dependencies for xNIC on Linux

Certain operating systems require additional dependencies for xNIC installation. These will be installed on the VM by the installation script, if possible.

NOTE

On Linux VMs, the xNIC installer will try to download and install the requirements and dependencies, provided an internet connection is available. If the system is isolated from internet (called air-gap environment), the pre-requisites must be met in order for the installer to finish successfully. In that cases, users can consult the How to Install xNIC Dependencies in an Air-Gapped Environment page.

Dependencies for Debian-based Linux

When using a Debian-based Linux (like Debian or Ubuntu), the install script for xNIC Type 1 and 2 will try to get the following packages and their dependencies to their latest available version (varying with the OS version, subversion, kernel, etc) using APT:

libpcap-dev
binutils
iproute2
linux-tools-generic
libatomic1
libnl-route-3-200
libarchive-dev

If the script is installing xNIC Type 3, it will also try to install:

libnuma-dev
libmnl-dev
python-is-python3

Dependencies for Red Hat-based Linux

When using a Red Hat-based distro (like Red Hat, Rocky, CentOS, Alma Linux, etc), the script will try to install the following packages and their dependencies using YUM:

libpcap
libatomic
libarchive
iproute-tc
bpftool

And if it’s an Amazon Linux VM, it will also try to install:

wget

Dependencies for xNIC on Windows

None.

The Windows installer gets all the required dependencies from a local repository on the cloudSwXtch, so there’s no need to get any extra packages, and the script will also work when on an air-gap environment.