re.pl command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
re.pl: command not found
or when using sudo you get the following error message
sudo: re.pl: command not found
Solutions to re.pl: command not found
How To Fix re.pl: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu re.pl is provided by libdevel-repl-perl package.
libdevel-repl-perl is:
Devel::REPL is a module for creating Read-Evaluate-Print-Loops (REPL) in Perl. The shell provides for rapid development or testing of code without the need to create a temporary source code file.
Through a plugin system, many features are available on demand. You can also tailor the environment through the use of profiles and run control files, for example to pre-load certain Perl modules when working on a particular project.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libdevel-repl-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libdevel-repl-perl.
sudo apt -y install libdevel-repl-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libdevel-repl-perl
Summary
In this tutorial we learn how to fix re.pl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.