nqp command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nqp: command not found
or when using sudo you get the following error message
sudo: nqp: command not found
Solutions to nqp: command not found
How To Fix nqp: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nqp is provided by nqp package.
nqp is:
“Not Quite Perl” is a compiler for quickly generating PIR routines from Perl6-like code. The key feature of NQP is that it’s designed to be a very small compiler (as compared with, say, perl6 or Rakudo) and is focused on being a high-level way to create compilers and libraries for virtual machines (such as the JVM, and MoarVM).
Unlike a full-fledged implementation of Perl 6, NQP strives to have as small a runtime footprint as it can, while still providing a Perl 6 object model and regular expression engine for the virtual machine.
To fix this problem, we can install more using the command below.
sudo apt-get -y install nqp
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install nqp.
sudo apt -y install nqp
Or if you have aptitude installed you can use the following command.
sudo aptitude install nqp
Summary
In this tutorial we learn how to fix nqp command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.