findrule command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
findrule: command not found
or when using sudo you get the following error message
sudo: findrule: command not found
Solutions to findrule: command not found
How To Fix findrule: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu findrule is provided by libfile-find-rule-perl package.
libfile-find-rule-perl is:
File::Find::Rule is a Perl module which essentially provides an easy-to-use interface to the popular module, File::Find. It provides a way to build rules that specify desired file and directory names using a text-globbing syntax (provided by Text::Glob). This makes it useful for simple tasks, like finding all “.pm” files in a given directory.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libfile-find-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-rule-perl.
sudo apt -y install libfile-find-rule-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libfile-find-rule-perl
Summary
In this tutorial we learn how to fix findrule command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.