asp-perl command not found

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

Introduction

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

asp-perl: command not found

or when using sudo you get the following error message

sudo: asp-perl: command not found

Solutions to asp-perl: command not found

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

In Ubuntu asp-perl is provided by libapache-asp-perl package.

libapache-asp-perl is:

Apache::ASP provides an Active Server Pages port to the Apache Web Server with perl as the host scripting language. Active Server Pages is a web application platform that originated with the Microsoft NT/IIS server. Under Apache for Unix and Win32 platforms it allows a developer to create dynamic web applications with session management and embedded perl code.

This module works under the Apache Web Server with the mod_perl module enabled. See http://www.apache.org and http://perl.apache.org for further information. It can also work under a standard CGI call interface using the asp-perl command. See README.Debian in this package for more details.

This is a portable solution, similar to ActiveState’s PerlScript for NT/IIS ASP. Work has been done and will continue to make ports to and from this implementation as smooth as possible.

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

sudo apt-get -y install libapache-asp-perl

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

You can also use apt command to install libapache-asp-perl.

sudo apt -y install libapache-asp-perl

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

sudo aptitude install libapache-asp-perl

Summary

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