scan-perl-prereqs-nqlite command not found

In this troubleshooting guide we learn how to fix scan-perl-prereqs-nqlite command not found error message

Introduction

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

scan-perl-prereqs-nqlite: command not found

or when using sudo you get the following error message

sudo: scan-perl-prereqs-nqlite: command not found

Solutions to scan-perl-prereqs-nqlite: command not found

How To Fix scan-perl-prereqs-nqlite: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu scan-perl-prereqs-nqlite is provided by libperl-prereqscanner-notquitelite-perl package.

libperl-prereqscanner-notquitelite-perl is:

Perl::PrereqScanner::NotQuiteLite is yet another prerequisites scanner. It passes almost all the scanning tests for Perl::PrereqScanner and Module::ExtractUse (ie. except for a few dubious ones), and runs slightly faster than PPI-based Perl::PrereqScanner. However, it doesn’t run as fast as Perl::PrereqScanner::Lite (which uses an XS lexer).

Perl::PrereqScanner::NotQuiteLite also recognizes eval. Prerequisites in eval are not considered as requirements, but they may be collected as suggestions.

Conditional requirements or requirements loaded in a block are treated as recommends. Noed modules are stored separately (since 0.94). You may or may not need to merge them into requires.

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

sudo apt-get -y install libperl-prereqscanner-notquitelite-perl

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

You can also use apt command to install libperl-prereqscanner-notquitelite-perl.

sudo apt -y install libperl-prereqscanner-notquitelite-perl

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

sudo aptitude install libperl-prereqscanner-notquitelite-perl

Summary

In this tutorial we learn how to fix scan-perl-prereqs-nqlite command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.