perl-stacktrace command not found

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

Introduction

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

perl-stacktrace: command not found

or when using sudo you get the following error message

sudo: perl-stacktrace: command not found

Solutions to perl-stacktrace: command not found

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

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

perl-stacktrace is:

perl-stacktrace prints Perl stack traces of Perl threads for a given Perl process. For each Perl frame, the full file name and line number are printed.

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

sudo apt-get -y install perl-stacktrace

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

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

sudo apt -y install perl-stacktrace

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

sudo aptitude install perl-stacktrace

Summary

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