ibsim-run command not found

In this troubleshooting guide we learn how to fix ibsim-run command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

ibsim-run: command not found

or when using sudo you get the following error message

sudo: ibsim-run: command not found

Solutions to ibsim-run: command not found

How To Fix ibsim-run: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ibsim-run is provided by ibsim-utils package.

ibsim-utils is:

ibsim provides a simulation of an InfiniBand fabric, which can be used by the opensm subnet manager and infiniband diagnostics and management tools.

This package provides utilities for use with the simulator.

To fix this problem, we can install more using the command below.

sudo apt-get -y install ibsim-utils

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install ibsim-utils.

sudo apt -y install ibsim-utils

Or if you have aptitude installed you can use the following command.

sudo aptitude install ibsim-utils

Summary

In this tutorial we learn how to fix ibsim-run command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.