perl-depends command not found

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

Introduction

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

perl-depends: command not found

or when using sudo you get the following error message

sudo: perl-depends: command not found

Solutions to perl-depends: command not found

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

In Ubuntu perl-depends is provided by perl-depends package.

perl-depends is:

perl-depends is a tool to show roughly what modules a program uses. Perl evaluates “use” commands at compile time, storing the information about loaded modules in the %INC variable. Comparing that list with the standard Perl modules gives an estimate of the external module dependencies.

The dependency information can be used to determine what external modules have to be installed before the program can be used.

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

sudo apt-get -y install perl-depends

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

You can also use apt command to install perl-depends.

sudo apt -y install perl-depends

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

sudo aptitude install perl-depends

Summary

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