How To Install moarvm on CentOS 7

In this tutorial we learn how to install moarvm on CentOS 7. moarvm is Meta-model On A Runtime Virtual Machine

Introduction

In this tutorial we learn how to install moarvm on CentOS 7.

What is moarvm

Short for “Metamodel On A Runtime”, MoarVM is a virtual machine built especially for Rakudo Perl 6 and the NQP Compiler Toolchain. MoarVM is a back-end for NQP. MoarVM already stands out among the various Rakudo and NQP compilation targets by typically Running the Perl 6 specification test suite fastest Having the lowest memory usage Having the best start-up time Being fastest to build both NQP and Rakudo - and thus in theory your Perl 6 and NQP programs too!

We can use yum or dnf to install moarvm on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install moarvm.

Install moarvm on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install moarvm

Install moarvm 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.

sudo dnf makecache

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

sudo dnf -y install moarvm

How To Uninstall moarvm on CentOS 7

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

sudo dnf remove moarvm

References

Summary

In this tutorial we learn how to install moarvm on CentOS 7 using yum and dnf.