lr command not found

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

Introduction

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

lr: command not found

or when using sudo you get the following error message

sudo: lr: command not found

Solutions to lr: command not found

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

In Ubuntu lr is provided by lr package.

lr is:

lr is a tool for generating file listings, which includes the best features of ls(1), find(1), stat(1) and du(1).

It has a powerful and user-friendly filter syntax, sorting and formatting capabilities.

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

sudo apt-get -y install lr

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

You can also use apt command to install lr.

sudo apt -y install lr

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

sudo aptitude install lr

Summary

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