catalyst.pl command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
catalyst.pl: command not found
or when using sudo you get the following error message
sudo: catalyst.pl: command not found
Solutions to catalyst.pl: command not found
How To Fix catalyst.pl: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu catalyst.pl is provided by libcatalyst-perl package.
libcatalyst-perl is:
Catalyst is an elegant web application framework, extremely flexible yet very simple. It’s similar to Ruby on Rails, Spring (Java) and Maypole, upon which it was originally based.
Catalyst follows the Model-View-Controller (MVC) design pattern, allowing you to easily separate concerns, like content, presentation, and flow control, into separate modules. This separation allows you to modify code that handles one concern without affecting code that handles the others. Catalyst promotes the re-use of existing Perl modules that already handle common web application concerns well.
This package only contains the Catalyst::Runtime module. If you want to develop your own web applications install libcatalyst-modules-perl as well.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libcatalyst-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libcatalyst-perl.
sudo apt -y install libcatalyst-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libcatalyst-perl
Summary
In this tutorial we learn how to fix catalyst.pl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.