How To Install ibsim on Fedora 36

In this tutorial we learn how to install ibsim in Fedora 36. ibsim is InfiniBand fabric simulator for management

Introduction

In this tutorial we learn how to install ibsim on Fedora 36.

What is ibsim

ibsim provides simulation of infiniband fabric for using with OFA OpenSM, diagnostic and management tools.

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

Install ibsim on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install ibsim

Install ibsim on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install ibsim

How To Uninstall ibsim on Fedora 36

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

sudo dnf remove ibsim

ibsim Package Contents on Fedora 36

/usr/bin/ibsim
/usr/bin/ibsim-run
/usr/lib/.build-id
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/955493ef9ed2cde79b2685495e2cc517bbba9d
/usr/lib/.build-id/61
/usr/lib/.build-id/61/27ec05395155300e82ae41df2991dacdc1b3b3
/usr/lib64/umad2sim
/usr/lib64/umad2sim/libumad2sim.so
/usr/share/doc/ibsim
/usr/share/doc/ibsim/README
/usr/share/doc/ibsim/TODO
/usr/share/doc/ibsim/net-examples
/usr/share/doc/ibsim/net-examples/examples.README
/usr/share/doc/ibsim/net-examples/net
/usr/share/doc/ibsim/net-examples/net.1
/usr/share/doc/ibsim/net-examples/net.2sw2path
/usr/share/doc/ibsim/net-examples/net.2sw2path4hca
/usr/share/doc/ibsim/net-examples/net.2sw2path4hca2port
/usr/share/doc/ibsim/scripts
/usr/share/doc/ibsim/scripts/run_opensm.sh
/usr/share/doc/ibsim/scripts/travis-build
/usr/share/doc/ibsim/scripts/travis-checkpatch
/usr/share/doc/ibsim/scripts/travis-runtest
/usr/share/licenses/ibsim
/usr/share/licenses/ibsim/COPYING

References

Summary

In this tutorial we learn how to install ibsim on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).