Skip to content

Download and install

alexbriskin edited this page Aug 7, 2023 · 1 revision

Install a binary package

With MLNX OFED

Libxlio is included in the MLNX OFED binary distribution. To install MLNX OFED, visit the Downloading the Drivers and follow the provided instructions.

With the package manager

To install libxlio using the default package managers for different Linux distributions, you can follow these steps:

For Debian-based distributions (e.g., Ubuntu):

sudo apt update
sudo apt install libxlio

For Red Hat-based distributions (e.g., CentOS, Fedora):

sudo yum install libxlio

For distributions that use DNF (e.g., Fedora):

sudo dnf install libxlio

📝 Note: The libxlio package availability depends on the package manager mirrors configured on your system.

With binary package

For distributions that use dpkg (e.g., Debian):

sudo dpkg -i /path/to/libxlio.deb

Please note that you may need administrative privileges (use sudo) to install packages system-wide. Replace /path/to/libxlio.deb with the actual path to the libxlio package file if you are using dpkg to install.

For RPM-based distributions (e.g., CentOS, Fedora):

sudo rpm -ivh /path/to/libxlio.rpm

Replace /path/to/libxlio.rpm with the actual path to the libxlio RPM package file. The -ivh flags are used to install the package with verbose output (v), show progress (h), and install it or upgrade it if already installed (i).

Build from source

📝 Note: For best performance it is recommended to use DPCP.

To build DPCP, use the following or consult the DPCP README.

git clone https://github.com/Mellanox/libdpcp.git
cd libdpcp
./autogen.sh
./configure
make -j
make install

To build XLIO, use the following commands or read the XLIO build instructions:

git clone https://github.com/Mellanox/libxlio.git
./autogen.sh
./configure --prefix=/where/to/install --with-dpcp=/where/dpcp/installed --enable-utls
make -j
make install
Clone this wiki locally