sinfo-client command not found

In this troubleshooting guide we learn how to fix sinfo-client command not found error message

Introduction

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

sinfo-client: command not found

or when using sudo you get the following error message

sudo: sinfo-client: command not found

Solutions to sinfo-client: command not found

How To Fix sinfo-client: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu sinfo-client is provided by sinfo package.

sinfo is:

The sinfo cluster monitoring system uses network broadcasts to distribute information about the status of local nodes, including their CPU/memory usage, network load, and top five processes. It consists of a daemon running on each node and an ncurses frontend to monitor them.

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

sudo apt-get -y install sinfo

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

You can also use apt command to install sinfo.

sudo apt -y install sinfo

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

sudo aptitude install sinfo

Summary

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