cruft-ng command not found

In this troubleshooting guide we learn how to fix cruft-ng command not found error message

Introduction

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

cruft-ng: command not found

or when using sudo you get the following error message

sudo: cruft-ng: command not found

Solutions to cruft-ng: command not found

How To Fix cruft-ng: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cruft-ng is provided by cruft-ng package.

cruft-ng is:

cruft-ng 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 & mlocate’s databases.

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

sudo apt-get -y install cruft-ng

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

You can also use apt command to install cruft-ng.

sudo apt -y install cruft-ng

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

sudo aptitude install cruft-ng

Summary

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