How To Install nqp on CentOS 7
Introduction
In this tutorial we learn how to install nqp
on CentOS 7.
What is nqp
This is “Not Quite Perl” – a lightweight Perl 6-like environment for virtual machines. The key feature of NQP is that it’s designed to be a very small environment (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 JVM and MoarVM). Unlike a full-fledged implementation of Perl 6, NQP strives to have as small a run-time footprint as it can, while still providing a Perl 6 object model and regular expression engine for the virtual machine.
We can use yum
or dnf
to install nqp
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install nqp.
Install nqp on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install nqp
using yum
by running the following command:
Install nqp on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install nqp
using dnf
by running the following command:
How To Uninstall nqp on CentOS 7
To uninstall only the nqp
package we can use the following command:
References
Summary
In this tutorial we learn how to install nqp
on CentOS 7 using yum
and dnf
.