How To Install ibsim on Fedora 34

ibsim is InfiniBand fabric simulator for management

Introduction

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

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 34. In this tutorial we discuss both methods but you only need to choose one of method to install ibsim.

Install ibsim 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 ibsim using dnf by running the following command:

sudo dnf -y install ibsim

Install ibsim 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 ibsim using yum by running the following command:

sudo yum -y install ibsim

How To Uninstall ibsim on Fedora 34

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

sudo dnf remove ibsim

ibsim Package Contents on Fedora 34

/usr/bin/ibsim
/usr/lib/.build-id
/usr/lib/.build-id/45
/usr/lib/.build-id/45/9ed8034f959ac7b4029b799e7b6b0c1280a50f
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/0afac8d7fb262003ceb3b02137ebc33202b364
/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 34 using yum and dnf.