mlr command not found

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

Introduction

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

mlr: command not found

or when using sudo you get the following error message

sudo: mlr: command not found

Solutions to mlr: command not found

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

In Ubuntu mlr is provided by miller package.

miller is:

Miller (mlr) allows name-indexed data such as CSV files to be processed with functions equivalent to sed, awk, cut, join, sort etc. It can convert between formats, preserves headers when sorting or reversing, and streams data where possible so its memory requirements stay small. It works well with pipes and can feed “tail -f”.

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

sudo apt-get -y install miller

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

You can also use apt command to install miller.

sudo apt -y install miller

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

sudo aptitude install miller

Summary

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