textrr command not found

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

Introduction

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

textrr: command not found

or when using sudo you get the following error message

sudo: textrr: command not found

Solutions to textrr: command not found

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

In Ubuntu textrr is provided by libtext-rewriterules-perl package.

libtext-rewriterules-perl is:

Text::RewriteRules uses a simplified syntax for regexp-based rules for rewriting text. You define a set of rules, and the system applies them until no more rule can be applied. The rules are defined using a specific non-perl syntax inside the Perl program. This improves legibility of big rewriting rules systems.

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

sudo apt-get -y install libtext-rewriterules-perl

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

You can also use apt command to install libtext-rewriterules-perl.

sudo apt -y install libtext-rewriterules-perl

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

sudo aptitude install libtext-rewriterules-perl

Summary

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