rmlint command not found

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

Introduction

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

rmlint: command not found

or when using sudo you get the following error message

sudo: rmlint: command not found

Solutions to rmlint: command not found

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

In Ubuntu rmlint is provided by rmlint package.

rmlint is:

rmlint finds space waste and other broken things on your filesystem and offers to remove them.

It is able to find:

  • Duplicate files & directories.
  • Non-stripped binaries.
  • Broken symlinks.
  • Empty files.
  • Recursive empty directories.
  • Files with broken user or group ID.

Key Features:

  • Extremely fast.
  • Flexible and easy command-line options.
  • Choice of several hashes for hash-based duplicate detection.
  • Option for exact byte-by-byte comparison (only slightly slower).
  • Numerous output options.
  • Option to store time of last run; next time will only scan new files.
  • Many options for original selection/prioritisation.
  • Can handle very large file sets (millions of files).
  • Colourful progress bar.

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

sudo apt-get -y install rmlint

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

You can also use apt command to install rmlint.

sudo apt -y install rmlint

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

sudo aptitude install rmlint

Summary

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