sminfo command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sminfo: command not found
or when using sudo you get the following error message
sudo: sminfo: command not found
Solutions to sminfo: command not found
How To Fix sminfo: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sminfo is provided by infiniband-diags package.
infiniband-diags is:
InfiniBand is a switched fabric communications link used in high-performance computing and enterprise data centers. Its features include high throughput, low latency, quality of service and failover, and it is designed to be scalable.
This package provides diagnostic programs and scripts needed to diagnose an InfiniBand subnet.
To fix this problem, we can install more using the command below.
sudo apt-get -y install infiniband-diags
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install infiniband-diags.
sudo apt -y install infiniband-diags
Or if you have aptitude installed you can use the following command.
sudo aptitude install infiniband-diags
Summary
In this tutorial we learn how to fix sminfo command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.