mason.pl command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mason.pl: command not found
or when using sudo you get the following error message
sudo: mason.pl: command not found
Solutions to mason.pl: command not found
How To Fix mason.pl: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mason.pl is provided by libmason-perl package.
libmason-perl is:
Mason is a powerful Perl-based templating system, designed to generate dynamic content of all kinds.
Unlike many templating systems, Mason does not attempt to invent an alternate, “easier” syntax for templates. It provides a set of syntax and features specific to template creation, but underneath it is still clearly and proudly recognizable as Perl.
Mason is most often used for generating web pages. It can handle web requests directly via PSGI, or act as the view layer for a web framework such as Catalyst or Dancer.
All documentation is indexed at Mason::Manual.
The previous major version of Mason (1.x) is available under the name HTML::Mason (package libhtml-mason-perl).
To fix this problem, we can install more using the command below.
sudo apt-get -y install libmason-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libmason-perl.
sudo apt -y install libmason-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libmason-perl
Summary
In this tutorial we learn how to fix mason.pl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.