tsp command not found

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

Introduction

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

tsp: command not found

or when using sudo you get the following error message

sudo: tsp: command not found

Solutions to tsp: command not found

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

In Ubuntu tsp is provided by task-spooler package.

task-spooler is:

Task spooler is a Unix batch system where the tasks spooled run one after the other. Each user in each system has his own job queue. The tasks are run in the correct context (that of enqueue) from any shell/process, and its output/results can be easily watched. It is very useful when you know that your commands depend on a lot of RAM, a lot of disk use, give a lot of output, or for whatever reason it’s better not to run them at the same time.

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

sudo apt-get -y install task-spooler

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

You can also use apt command to install task-spooler.

sudo apt -y install task-spooler

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

sudo aptitude install task-spooler

Summary

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