How To Install ibutils on Fedora 34

ibutils is OpenIB Mellanox InfiniBand Diagnostic Tools

Introduction

In this tutorial we learn how to install ibutils on Fedora 34.

What is ibutils

ibutils provides IB network and path diagnostics.

We can use yum or dnf to install ibutils on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install ibutils.

Install ibutils on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install ibutils using dnf by running the following command:

sudo dnf -y install ibutils

Install ibutils on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install ibutils using yum by running the following command:

sudo yum -y install ibutils

How To Uninstall ibutils on Fedora 34

To uninstall only the ibutils package we can use the following command:

sudo dnf remove ibutils

ibutils Package Contents on Fedora 34

/usr/bin/IBMgtSim
/usr/bin/RunSimTest
/usr/bin/dump2psl.pl
/usr/bin/dump2slvl.pl
/usr/bin/ibdev2netdev
/usr/bin/ibdiagnet
/usr/bin/ibdiagpath
/usr/bin/ibdiagui
/usr/bin/ibdmchk
/usr/bin/ibdmsh
/usr/bin/ibdmtr
/usr/bin/ibis
/usr/bin/ibmsquit
/usr/bin/ibmssh
/usr/bin/ibnlparse
/usr/bin/ibtopodiff
/usr/bin/mkSimNodeDir
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/6c54a8a54ac7aabcdbcabdf31daff3e76d536c
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/3d6c14c44ee8eb8f9f8d485eaee934043418e8
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/f8e65d8425e0e64c41c773ff9c53f1086e8573
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/8fce2245214de7c93a90da1e5b42b8fcf82a62
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/4eb1f11067658ba137b6b6bd25a480a2c56b75
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/f182d1e48c5ed2886d3c124c7f618d7413c39f
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/8ff6c1ba82c70cdcc9503cbf765a648e6777ea
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/332f67fc079248deaab63ae3cec542440067cf
/usr/share/ibmgtsim
/usr/share/ibmgtsim/12-ary-2-tree.topo
/usr/share/ibmgtsim/12-node-spaced.topo
/usr/share/ibmgtsim/2-ary-4-tree.topo
/usr/share/ibmgtsim/32nodes-3lvl-is1-cbb2-2st.topo
/usr/share/ibmgtsim/32nodes-3lvl-is1-cbb2.topo
/usr/share/ibmgtsim/32nodes-3lvl-is1.topo
/usr/share/ibmgtsim/4-ary-2-tree-diff-num-pgroups.topo
/usr/share/ibmgtsim/4-ary-2-tree-links-at-same-rank-1.topo
/usr/share/ibmgtsim/4-ary-2-tree-links-at-same-rank-2.topo
/usr/share/ibmgtsim/4-ary-2-tree-missing-sw-link.topo
/usr/share/ibmgtsim/4-ary-2-tree.topo
/usr/share/ibmgtsim/4-ary-3-tree.topo
/usr/share/ibmgtsim/4-ary-4-tree.topo
/usr/share/ibmgtsim/FatTree.check.tcl
/usr/share/ibmgtsim/FatTree.sim.tcl
/usr/share/ibmgtsim/FatTreeFails.check.tcl
/usr/share/ibmgtsim/FullGnu.topo
/usr/share/ibmgtsim/IS1-16.topo
/usr/share/ibmgtsim/IS3-128.topo
/usr/share/ibmgtsim/IS3-loop.topo
/usr/share/ibmgtsim/OsmTest.check.tcl
/usr/share/ibmgtsim/OsmTest.sim.tcl
/usr/share/ibmgtsim/RhinoBased10K.topo
/usr/share/ibmgtsim/RhinoBased512Nodes.topo
/usr/share/ibmgtsim/RhinoDDR.topo
/usr/share/ibmgtsim/RhinoReindeer1100.topo
/usr/share/ibmgtsim/blend-4-ary-2-tree.topo
/usr/share/ibmgtsim/discover.check.tcl
/usr/share/ibmgtsim/discover.sim.tcl
/usr/share/ibmgtsim/duplicateGuid.sim.tcl
/usr/share/ibmgtsim/gnu-stallion-64.topo
/usr/share/ibmgtsim/half-4-ary-3-tree.topo
/usr/share/ibmgtsim/ibdiag-drops.sim.tcl
/usr/share/ibmgtsim/ibdiag-dup-both-guids.sim.tcl
/usr/share/ibmgtsim/ibdiag-dup-node-guid.sim.tcl
/usr/share/ibmgtsim/ibdiag-dup-port-guid.sim.tcl
/usr/share/ibmgtsim/ibdiag-lid.sim.tcl
/usr/share/ibmgtsim/ibdiag-mcast.sim.tcl
/usr/share/ibmgtsim/ibdiag-ucast.sim.tcl
/usr/share/ibmgtsim/ibdiagnet.check.tcl
/usr/share/ibmgtsim/merge-2-ary-4-tree.topo
/usr/share/ibmgtsim/merge-root-12-ary-2-tree.topo
/usr/share/ibmgtsim/merge-root-4-ary-3-tree.topo
/usr/share/ibmgtsim/merge-roots-4-ary-2-tree.topo
/usr/share/ibmgtsim/merge-roots-reorder-4-ary-2-tree.topo
/usr/share/ibmgtsim/osm-dup-local-port-guid.sim.tcl
/usr/share/ibmgtsim/osm-join-leave.check.tcl
/usr/share/ibmgtsim/osm-join-leave.sim.tcl
/usr/share/ibmgtsim/osmLidAssignment.check.tcl
/usr/share/ibmgtsim/osmLidAssignment.sim.tcl
/usr/share/ibmgtsim/osmMulticast.sim.tcl
/usr/share/ibmgtsim/osmMulticastRoutingTest.check.tcl
/usr/share/ibmgtsim/osmMulticastRoutingTest.sim.tcl
/usr/share/ibmgtsim/osmStability.check.tcl
/usr/share/ibmgtsim/osmStability.sim.tcl
/usr/share/ibmgtsim/osmStress.check.tcl
/usr/share/ibmgtsim/osmStress.sim.tcl
/usr/share/ibmgtsim/osm_no_quit.check.tcl
/usr/share/ibmgtsim/osm_no_quit.sim.tcl
/usr/share/ibmgtsim/part-4-ary-3-tree.topo
/usr/share/ibmgtsim/pkey.check.tcl
/usr/share/ibmgtsim/pkey.sim.tcl
/usr/share/man/man1/IBMgtSim.1.gz
/usr/share/man/man1/RunSimTest.1.gz
/usr/share/man/man1/ibdiagnet.1.gz
/usr/share/man/man1/ibdiagpath.1.gz
/usr/share/man/man1/ibdiagui.1.gz
/usr/share/man/man1/ibdm-ibnl-file.1.gz
/usr/share/man/man1/ibdm-topo-file.1.gz
/usr/share/man/man1/ibdmchk.1.gz
/usr/share/man/man1/ibdmsh.1.gz
/usr/share/man/man1/ibdmtr.1.gz
/usr/share/man/man1/ibis.1.gz
/usr/share/man/man1/ibmsquit.1.gz
/usr/share/man/man1/ibmssh.1.gz
/usr/share/man/man1/ibtopodiff.1.gz
/usr/share/man/man1/mkSimNodeDir.1.gz

References

Summary

In this tutorial we learn how to install ibutils on Fedora 34 using yum and dnf.