pirl command not found

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

Introduction

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

pirl: command not found

or when using sudo you get the following error message

sudo: pirl: command not found

Solutions to pirl: command not found

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

In Ubuntu pirl is provided by libshell-perl-perl package.

libshell-perl-perl is:

pirl is the implementation of a command-line interpreter for Perl, written when the author got tired of using irb when needing a calculator with a real language within.

Shell::Perl is the heart of the pirl script, both provided in this package.

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

sudo apt-get -y install libshell-perl-perl

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

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

sudo apt -y install libshell-perl-perl

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

sudo aptitude install libshell-perl-perl

Summary

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