kthresher command not found

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

Introduction

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

kthresher: command not found

or when using sudo you get the following error message

sudo: kthresher: command not found

Solutions to kthresher: command not found

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

In Ubuntu kthresher is provided by kthresher package.

kthresher is:

Tool to remove unused kernels that were installed automatically This tool removes those kernel packages marked as candidate for autoremoval. Those packages are generally installed via Unattended upgrade or meta-packages. By default the latest kernel and manual installations are marked to Never Auto Remove.

thresher - A device that first separates the head of a stalk of grain from the straw, and then further separates the kernel from the rest of the head.

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

sudo apt-get -y install kthresher

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

You can also use apt command to install kthresher.

sudo apt -y install kthresher

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

sudo aptitude install kthresher

Summary

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