licensee command not found

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

Introduction

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

licensee: command not found

or when using sudo you get the following error message

sudo: licensee: command not found

Solutions to licensee: command not found

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

In Ubuntu licensee is provided by ruby-licensee package.

ruby-licensee is:

Licensee automates the process of reading LICENSE files and compares their contents to known licenses using a fancy maths.

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

sudo apt-get -y install ruby-licensee

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

You can also use apt command to install ruby-licensee.

sudo apt -y install ruby-licensee

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

sudo aptitude install ruby-licensee

Summary

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