tre-agrep command not found

In this troubleshooting guide we learn how to fix tre-agrep command not found error message

Introduction

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

tre-agrep: command not found

or when using sudo you get the following error message

sudo: tre-agrep: command not found

Solutions to tre-agrep: command not found

How To Fix tre-agrep: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu tre-agrep is provided by tre-agrep package.

tre-agrep is:

This is an Approximate GREP utility based on the TRE regexp matching library

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

sudo apt-get -y install tre-agrep

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

You can also use apt command to install tre-agrep.

sudo apt -y install tre-agrep

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

sudo aptitude install tre-agrep

Summary

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