lu-sh command not found

In this troubleshooting guide we learn how to fix lu-sh command not found error message

Introduction

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

lu-sh: command not found

or when using sudo you get the following error message

sudo: lu-sh: command not found

Solutions to lu-sh: command not found

How To Fix lu-sh: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu lu-sh is provided by licenseutils package.

licenseutils is:

licenseutils is for creating copyright and license notices at the beginning of source code files. It can be difficult to put copyright and license notices in a collection of source code files. This software will help you accomplish this in a standard-looking way, for a variety of different programming languages.

licenseutils consists of a program called licensing', a bash-like shell called lu-sh’, and a wrapper `notice'.

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

sudo apt-get -y install licenseutils

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

You can also use apt command to install licenseutils.

sudo apt -y install licenseutils

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

sudo aptitude install licenseutils

Summary

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