license_finder_pip.py command not found

In this troubleshooting guide we learn how to fix license_finder_pip.py command not found error message

Introduction

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

license_finder_pip.py: command not found

or when using sudo you get the following error message

sudo: license_finder_pip.py: command not found

Solutions to license_finder_pip.py: command not found

How To Fix license_finder_pip.py: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu license_finder_pip.py is provided by ruby-gitlab-license-finder package.

ruby-gitlab-license-finder is:

LicenseFinder works with your package managers to find dependencies, detect the licenses of the packages in them, compare those licenses against a user-defined list of permitted licenses, and give you an actionable exception report.

This is a fork of license-finder gem by Gitlab Inc for integrating with gitlab.

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

sudo apt-get -y install ruby-gitlab-license-finder

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

You can also use apt command to install ruby-gitlab-license-finder.

sudo apt -y install ruby-gitlab-license-finder

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

sudo aptitude install ruby-gitlab-license-finder

Summary

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