NVIDIA Linux Public Repository


The 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.
"mlnx_en" This repository provides Ethernet only drivers.
Recommended for customers who need only Ethernet drivers.

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 Documentation (select relevant software release version --> User Manual --> Installation --> Installing MLNX_OFED).

Subscribe your system to the NVIDIA Linux repository

1. Download and install the 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 9.2, SLES15 SP5 and Ubuntu23.04.

Operating System Download Command
RHEL 9.2 # cd /etc/yum.repos.d/
# wget https://linux.mellanox.com/public/repo/mlnx_ofed/latest/rhel9.2/mellanox_mlnx_ofed.repo
SLES 15 SP5 # cd /etc/zypp/repos.d/
# wget https://linux.mellanox.com/public/repo/mlnx_ofed/latest/sles15sp5/mellanox_mlnx_ofed.repo
Ubuntu 23.04 # cd /etc/apt/sources.list.d/
# wget https://linux.mellanox.com/public/repo/mlnx_ofed/latest/ubuntu23.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
RHEL 9.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
SLES 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.

NVIDIA 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.