How To Install nqp on AlmaLinux 8

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

Introduction

In this tutorial we learn how to install nqp on AlmaLinux 8.

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

Install nqp on AlmaLinux 8 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 AlmaLinux 8 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 AlmaLinux 8

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

sudo dnf remove nqp

References

Summary

In this tutorial we learn how to install nqp on AlmaLinux 8 using yum and dnf.