squeue command not found

In this troubleshooting guide we learn how to fix squeue command not found error message

Introduction

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

squeue: command not found

or when using sudo you get the following error message

sudo: squeue: command not found

Solutions to squeue: command not found

How To Fix squeue: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu squeue is provided by slurm-client package.

slurm-client is:

SLURM stands for Simple Linux Utility for Resource Management, it is an open-source cluster resource management and job scheduling system that strives to be simple, scalable, portable, fault-tolerant, and interconnect agnostic. This package contains all client side commands.

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

sudo apt-get -y install slurm-client

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

You can also use apt command to install slurm-client.

sudo apt -y install slurm-client

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

sudo aptitude install slurm-client

Summary

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