User Manual
InstallationRev 2.0-3.0.0
Mellanox Technologies
38
2.5 Installing MLNX_OFED using YUM
2.5.1 Setting up MLNX_OFED YUM Repository
Step 1. Download the tarball to your host.
The image’s name has the format
MLNX_OFED_LINUX-<ver>-<OS label><CPU arch>.tgz. You
can download it from http://www.mellanox.com > Products > Software> InfiniBand Drivers.
Step 2. Extract the MLNX_OFED tarball package to a shared location in your network.
Step 3. Download and install Mellanox Technologies GPG-KEY:
The key can be downloaded via the following link:
http://www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox
Step 4. Install the key.
Step 5. Check that the key was successfully imported.
Step 6. Create a YUM repository configuration file called "/etc/yum.repos.d/mlnx_ofed.repo"
with the following content.
Step 7. Check that the repository was successfully added.
# tar xzf MLNX_OFED_LINUX-<MLNX_OFED_version>-rhel6.4-x86_64.tgz
# wget http://www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox
--2013-08-20 13:52:30-- http://www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox
Resolving www.mellanox.com... 72.3.194.0
Connecting to www.mellanox.com|72.3.194.0|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1354 (1.3K) [text/plain]
Saving to: ?RPM-GPG-KEY-Mellanox?
100%[=================================================>] 1,354 --.-K/s in 0s
2013-08-20 13:52:30 (247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [1354/1354]
# sudo rpm --import RPM-GPG-KEY-Mellanox
# rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n' | grep Mellanox
gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support@mellanox.com>)
[mlnx_ofed]
name=MLNX_OFED Repository
baseurl=file:///<path to extracted MLNX_OFED package>
enabled=1
gpgkey=file:///<path to the downloaded key (RPM-GPG-KEY-Mellanox)>
gpgcheck=1
# yum repolist
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscrip-
tion-manager to register.
repo id repo name status
mlnx_ofed MLNX_OFED Repository 108
rpmforge RHEL 6Server - RPMforge.net - dag 4,597
repolist: 8,351