How To Install libcatalyst-plugin-stacktrace-perl on Debian 10

Learn how to install libcatalyst-plugin-stacktrace-perl on Debian 10 with this tutorial. libcatalyst-plugin-stacktrace-perl is Catalyst plugin for displaying a stack trace on the debug screen

Introduction

In this tutorial we learn how to install libcatalyst-plugin-stacktrace-perl on Debian 10.

What is libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-stacktrace-perl is:

Catalyst::Plugin::StackTrace will enhance the standard Catalyst debug screen by including a stack trace of your appliation up to the point where the error occurred. Each stack frame is displayed along with the package name, line number, file name, and code context surrounding the line number.

This plugin is only active in -Debug mode by default, but can be enabled by setting the enable config option.

Catalyst is an elegant Model-View-Controller web application framework written in Perl.

There are three methods to install libcatalyst-plugin-stacktrace-perl on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libcatalyst-plugin-stacktrace-perl Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libcatalyst-plugin-stacktrace-perl using apt-get by running the following command:

sudo apt-get -y install libcatalyst-plugin-stacktrace-perl

Install libcatalyst-plugin-stacktrace-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libcatalyst-plugin-stacktrace-perl using apt by running the following command:

sudo apt -y install libcatalyst-plugin-stacktrace-perl

Install libcatalyst-plugin-stacktrace-perl Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libcatalyst-plugin-stacktrace-perl using aptitude by running the following command:

sudo aptitude -y install libcatalyst-plugin-stacktrace-perl

How To Uninstall libcatalyst-plugin-stacktrace-perl on Debian 10

To uninstall only the libcatalyst-plugin-stacktrace-perl package we can use the following command:

sudo apt-get remove libcatalyst-plugin-stacktrace-perl

Uninstall libcatalyst-plugin-stacktrace-perl And Its Dependencies

To uninstall libcatalyst-plugin-stacktrace-perl and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libcatalyst-plugin-stacktrace-perl

Remove libcatalyst-plugin-stacktrace-perl Configurations and Data

To remove libcatalyst-plugin-stacktrace-perl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libcatalyst-plugin-stacktrace-perl

Remove libcatalyst-plugin-stacktrace-perl configuration, data, and all of its dependencies

We can use the following command to remove libcatalyst-plugin-stacktrace-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libcatalyst-plugin-stacktrace-perl

Dependencies

libcatalyst-plugin-stacktrace-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libcatalyst-plugin-stacktrace-perl package on Debian 10 using different package management tools: apt, apt-get and aptitude.