-
Notifications
You must be signed in to change notification settings - Fork 27
Download and install
Libxlio is included in the DOCA-host binary distribution. To install please refer to our installation guide in XLIO main page and follow the provided instructions.
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 libxlioFor Red Hat-based distributions (e.g., CentOS, Fedora):
sudo yum install libxlioFor 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.
For distributions that use dpkg (e.g., Debian):
sudo dpkg -i /path/to/libxlio.debPlease 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.rpmReplace /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).
📝 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 installTo 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