How To Install nqp-data on Kali Linux

In this tutorial we learn how to install nqp-data on Kali Linux. nqp-data is Data files for NQP compiler

Introduction

In this tutorial we learn how to install nqp-data on Kali Linux.

What is nqp-data

nqp-data 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.

This package contains the architecture independent files (mostly the files compiled for Moar VM)

There are three methods to install nqp-data on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install nqp-data Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install nqp-data using apt-get by running the following command:

sudo apt-get -y install nqp-data

Install nqp-data Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install nqp-data using apt by running the following command:

sudo apt -y install nqp-data

Install nqp-data Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install nqp-data using aptitude by running the following command:

sudo aptitude -y install nqp-data

How To Uninstall nqp-data on Kali Linux

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

sudo apt-get remove nqp-data

Uninstall nqp-data And Its Dependencies

To uninstall nqp-data and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove nqp-data

Remove nqp-data Configurations and Data

To remove nqp-data configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge nqp-data

Remove nqp-data configuration, data, and all of its dependencies

We can use the following command to remove nqp-data configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge nqp-data

Dependencies

nqp-data have the following dependencies:

References

Summary

In this tutorial we learn how to install nqp-data package on Kali Linux using different package management tools: apt, apt-get and aptitude.