1.
2.
3.
4.
5.
6.
1.
2.
Setting up MLNX_OFED apt-get Repository
Log into the installation machine as root.
Extract the MLNX_OFED pacakge on a shared location in your network.
You can download it from http://www.mellanox.com > Products > Software> Ethernet Drivers.
Create an apt-get repository configuration file called"/etc/apt/sources.list.d/mlnx_ofed.list" 
with the following content:
# deb file:/<path to extracted MLNX_OFED package>/DEBS ./
Download and install Mellanox Technologies GPG-KEY.
# wget -qO - http://www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -
Check that the key was successfully imported.
# apt-key list
pub 1024D/A9E4B643 2013-08-11
uid Mellanox Technologies <support@mellanox.com>
sub 1024g/09FCC269 2013-08-11
Update the apt-get cache.
Installing MLNX_OFED Using the apt-get Tool
After setting up the apt-get repository for MLNX_OFED package, perform the following:
View the available package groups by invoking:
<pre># apt-cache search mlnx-ofed-
mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)
mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)
mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)
mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)
mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)
mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)
Where:
mlnx-ofed-all        MLNX_OFED all installer package.
mlnx-ofed-basic      MLNX_OFED basic installer package.
mlnx-ofed-vma        MLNX_OFED vma installer package.
mlnx-ofed-hpc        MLNX_OFED HPC installer package.
mlnx-ofed-vma-eth    MLNX_OFED vma-eth installer package.
mlnx-ofed-vma-vpi    MLNX_OFED vma-vpi installer package.
Install the desired group.
# apt-get install '<group name>'
Example:
# apt-get install mlnx-ofed-all