rrep command not found

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

Introduction

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

rrep: command not found

or when using sudo you get the following error message

sudo: rrep: command not found

Solutions to rrep: command not found

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

In Ubuntu rrep is provided by rrep package.

rrep is:

rrep is a pattern replacement utility. It comes with support for regular expressions, recursive directory processing, backup, simulation and prompting. The replacement string may contain special characters to refer to portions of the matched pattern.

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

sudo apt-get -y install rrep

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

You can also use apt command to install rrep.

sudo apt -y install rrep

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

sudo aptitude install rrep

Summary

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