Mellanox Technologies Ltd. Public Repository

Overview

The Mellanox Technologies Ltd. public repository provides all packages required for InfiniBand, Ethernet and RDMA.
The following are the main repositories available:

Repository Type Description Location
"mlnx_ofed" This repository provides packages for complete InfiniBand and Ethernet functionality, including HPC and VMA libraries and tools.
Recommended for most customers.
https://linux.mellanox.com/public/repo/mlnx_ofed
"mlnx_en" This repository provides Ethernet only drivers.
Recommended for customers who need only Ethernet drivers.
https://linux.mellanox.com/public/repo/mlnx_en
"mlnx_rdma_minimal" This repository provides minimal number of packages for InfiniBand and Ethernet functionalities, and for RoCE, DPDK or VMA.
Recommended for customers looking for minimal package size when running RoCE, DPDK or VMA.
https://linux.mellanox.com/public/repo/mlnx_rdma_minimal

Note: All repositories support only the default GA kernel of each supported Operation System. In case of a custom kernel, please refer to the MLNX_OFED User Manual section "Installing Mellanox OFED" for further information on how to add kernel support.

Subscribe your system to the Mellanox Technologies repository

1. Download and install Mellanox Technologies GPG-KEY.

File Type Install Command
RPM based Distribution # wget https://www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox
# sudo rpm --import RPM-GPG-KEY-Mellanox
DEB based Distribution # wget -qO - https://www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

2. Download the repository configuration file of the desired product.

  • Go to the main repository https://linux.mellanox.com/public/repo
  • Choose the repository that suites your needs (mlnx_ofed, mlnx_en or mlnx_rdma_minimal).
  • Choose your Operation System Under the "latest" folder
  • Download the repository configuration file "mellanox_mlnx_ofed.repo" or "mellanox_mlnx_ofed.list"

Note: The table below shows examples of how to configure a 'mlnx_ofed' repository for RHEL 7.6, SLES15 SP1 and Ubuntu18.04.

Operating System Download Command
Red Hat Enterprise Linux 7.6 # cd /etc/yum.repos.d/
# wget https://linux.mellanox.com/public/repo/mlnx_ofed/latest/rhel7.6/mellanox_mlnx_ofed.repo
SUSE Linux Enterprise Server 11 SP2 # cd /etc/zypp/repos.d/
# wget https://linux.mellanox.com/public/repo/mlnx_ofed/latest/sles15sp1/mellanox_mlnx_ofed.repo
Ubuntu 18.04 # cd /etc/apt/sources.list.d/
# wget https://linux.mellanox.com/public/repo/mlnx_ofed/latest/ubuntu18.04/mellanox_mlnx_ofed.list

3. Remove the distro InfiniBand packages.

Note: Since the distro InfiniBand packages conflict with the packages included in the MLNX_OFED/MLNX_EN driver, make sure that all distro InfiniBand RPMs are uninstalled.

Operating System Remove Command
Red Hat Enterprise Linux 6.x # yum group remove infiniband
Red Hat Enterprise Linux 7.x # yum groupremove "infiniband support"
Ubuntu and Debian # apt-get remove libipathverbs1 librdmacm1 libibverbs1 libmthca1 libopenmpi-dev openmpi-bin openmpi-common openmpi-doc libmlx4-1 rdmacm-utils ibverbs-utils infiniband-diags ibutils perftest
SUSE Linux Enterprise Server Since the removal of a pattern is not supported through "zypper", you may have to use the "Software Management" tool from "yast2" GUI to uninstall all RPMs under "InfiniBand (OFED)" and/or "ofed" patterns.

Note: Remove all other distro packages not specified above that might conflict with MLNX_OFED/MLNX_EN packages.


Installing MLNX_OFED packages

Once you are subscribed to the repository, download the guideline here to follow instructions on how to install packages from MLNX_OFED Repository.



Mellanox Cookie Policy

This website uses cookies which may help to deliver content tailored to your preferences and interests, provide you with a better browsing experience, and to analyze our traffic. You may delete and/or block out cookies from this site, but it may affect how the site operates. Further information can be found in our Privacy Policy.