cruft command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cruft: command not found
or when using sudo you get the following error message
sudo: cruft: command not found
Solutions to cruft: command not found
How To Fix cruft: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cruft is provided by cruft package.
cruft is:
cruft is a program to look over your system for anything that shouldn’t be there, but is; or for anything that should be there, but isn’t.
It bases most of its results on dpkg’s database, as well as a list of `extra files’ that can appear during the lifetime of various packages.
cruft is still in pre-release; your assistance in improving its accuracy and performance is appreciated.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cruft
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cruft.
sudo apt -y install cruft
Or if you have aptitude installed you can use the following command.
sudo aptitude install cruft
Summary
In this tutorial we learn how to fix cruft command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.