plackup command not found

In this troubleshooting guide we learn how to fix plackup command not found error message

Introduction

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

plackup: command not found

or when using sudo you get the following error message

sudo: plackup: command not found

Solutions to plackup: command not found

How To Fix plackup: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu plackup is provided by libplack-perl package.

libplack-perl is:

Plack is a set of tools similar to Ruby’s Rack or Python’s Paste for WSGI. It implements the Perl Server Gateway Interface (PSGI) standard interface, which allows developers to decouple their web application framework from the local web server environment.

This package contains middleware components, a reference server and utilities for web application frameworks.

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

sudo apt-get -y install libplack-perl

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

You can also use apt command to install libplack-perl.

sudo apt -y install libplack-perl

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

sudo aptitude install libplack-perl

Summary

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