How To Install libcatalyst-plugin-static-simple-perl on Debian 10

Learn how to install libcatalyst-plugin-static-simple-perl on Debian 10 with this tutorial. libcatalyst-plugin-static-simple-perl is Catalyst plugin for easy serving of static pages

Introduction

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

What is libcatalyst-plugin-static-simple-perl

libcatalyst-plugin-static-simple-perl is:

Catalyst::Plugin::Static::Simple is designed to make serving static content in your application during development quick and easy, without requiring a single line of code from you.

This plugin detects static files by looking at the file extension in the URL (such as .css or .png or .js). The plugin uses the lightweight MIME::Types module to map file extensions to IANA-registered MIME types, and will serve your static files with the correct MIME type directly to the browser, without being processed through Catalyst.

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

There are three methods to install libcatalyst-plugin-static-simple-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-static-simple-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-static-simple-perl using apt-get by running the following command:

sudo apt-get -y install libcatalyst-plugin-static-simple-perl

Install libcatalyst-plugin-static-simple-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcatalyst-plugin-static-simple-perl

Install libcatalyst-plugin-static-simple-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-static-simple-perl using aptitude by running the following command:

sudo aptitude -y install libcatalyst-plugin-static-simple-perl

How To Uninstall libcatalyst-plugin-static-simple-perl on Debian 10

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

sudo apt-get remove libcatalyst-plugin-static-simple-perl

Uninstall libcatalyst-plugin-static-simple-perl And Its Dependencies

To uninstall libcatalyst-plugin-static-simple-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-static-simple-perl

Remove libcatalyst-plugin-static-simple-perl Configurations and Data

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

sudo apt-get -y purge libcatalyst-plugin-static-simple-perl

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

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

sudo apt-get -y autoremove --purge libcatalyst-plugin-static-simple-perl

Dependencies

libcatalyst-plugin-static-simple-perl have the following dependencies:

References

Summary

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