findorule command not found

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

Introduction

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

findorule: command not found

or when using sudo you get the following error message

sudo: findorule: command not found

Solutions to findorule: command not found

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

In Ubuntu findorule is provided by libfile-find-object-rule-perl package.

libfile-find-object-rule-perl is:

File::Find::Object::Rule is a friendlier interface to File::Find::Object. It allows you to build rules which specify the desired files and directories.

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

sudo apt-get -y install libfile-find-object-rule-perl

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

You can also use apt command to install libfile-find-object-rule-perl.

sudo apt -y install libfile-find-object-rule-perl

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

sudo aptitude install libfile-find-object-rule-perl

Summary

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