How To Install nqp on Fedora 36

In this tutorial we learn how to install nqp in Fedora 36. nqp is Not Quite Perl (6)

Introduction

In this tutorial we learn how to install nqp on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install nqp.

Install nqp on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install nqp using dnf by running the following command:

sudo dnf -y install nqp

Install nqp on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install nqp using yum by running the following command:

sudo yum -y install nqp

How To Uninstall nqp on Fedora 36

To uninstall only the nqp package we can use the following command:

sudo dnf remove nqp

nqp Package Contents on Fedora 36

/usr/bin/nqp
/usr/bin/nqp-m
/usr/lib/.build-id
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/6887e937f78f44fe1b5041c2959e3ead59a38a
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/3be01c655156bf22ecd180da68b10247109ece
/usr/share/doc/nqp
/usr/share/doc/nqp/CREDITS
/usr/share/doc/nqp/README.pod
/usr/share/licenses/nqp
/usr/share/licenses/nqp/LICENSE
/usr/share/nqp
/usr/share/nqp/lib
/usr/share/nqp/lib/MASTNodes.moarvm
/usr/share/nqp/lib/MASTOps.moarvm
/usr/share/nqp/lib/ModuleLoader.moarvm
/usr/share/nqp/lib/NQPCORE.setting.moarvm
/usr/share/nqp/lib/NQPHLL.moarvm
/usr/share/nqp/lib/NQPP5QRegex.moarvm
/usr/share/nqp/lib/NQPP6QRegex.moarvm
/usr/share/nqp/lib/QAST.moarvm
/usr/share/nqp/lib/QASTNode.moarvm
/usr/share/nqp/lib/QRegex.moarvm
/usr/share/nqp/lib/nqp.moarvm
/usr/share/nqp/lib/nqpmo.moarvm
/usr/share/nqp/lib/profiler
/usr/share/nqp/lib/profiler/template.html

References

Summary

In this tutorial we learn how to install nqp on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).