How To Install moarvm on Fedora 34

moarvm is Meta-model On A Runtime Virtual Machine Meta-model On A Runtime Virtual Machine

Introduction

In this tutorial we learn how to install moarvm on Fedora 34.

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! moarvm 0.2020.07 2.fc34 x86_64 1.7 M moarvm-0.2020.07-2.fc34.src.rpm fedora Meta-model On A Runtime Virtual Machine http Artistic 2.0 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install moarvm.

Install moarvm on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install moarvm

Install moarvm on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install moarvm

How To Uninstall moarvm on Fedora 34

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

sudo dnf remove moarvm

moarvm Package Contents on Fedora 34

/usr/bin/moar
/usr/lib/.build-id
/usr/lib/.build-id/45
/usr/lib/.build-id/45/41f0b6aff1035cc5b6cf1f067886c1fe54f36d
/usr/lib/.build-id/88
/usr/lib/.build-id/88/b1f98b7bcc47b9a90e03efccb987c143789e25
/usr/lib64/libmoar.so
/usr/share/doc/moarvm
/usr/share/doc/moarvm/CREDITS
/usr/share/doc/moarvm/docs
/usr/share/doc/moarvm/docs/6model-parametric-extensions.html
/usr/share/doc/moarvm/docs/6model-parametric-extensions.markdown
/usr/share/doc/moarvm/docs/ChangeLog
/usr/share/doc/moarvm/docs/README.html
/usr/share/doc/moarvm/docs/README.md
/usr/share/doc/moarvm/docs/arg-passing.html
/usr/share/doc/moarvm/docs/arg-passing.markdown
/usr/share/doc/moarvm/docs/bootstrap.html
/usr/share/doc/moarvm/docs/bootstrap.markdown
/usr/share/doc/moarvm/docs/bytecode.html
/usr/share/doc/moarvm/docs/bytecode.markdown
/usr/share/doc/moarvm/docs/collation.asciidoc
/usr/share/doc/moarvm/docs/contributing.org
/usr/share/doc/moarvm/docs/debug-server-protocol.html
/usr/share/doc/moarvm/docs/debug-server-protocol.md
/usr/share/doc/moarvm/docs/exceptions.html
/usr/share/doc/moarvm/docs/exceptions.markdown
/usr/share/doc/moarvm/docs/extops.html
/usr/share/doc/moarvm/docs/extops.markdown
/usr/share/doc/moarvm/docs/gc.html
/usr/share/doc/moarvm/docs/gc.markdown
/usr/share/doc/moarvm/docs/heapsnapshot.html
/usr/share/doc/moarvm/docs/heapsnapshot.markdown
/usr/share/doc/moarvm/docs/interpreter.html
/usr/share/doc/moarvm/docs/interpreter.markdown
/usr/share/doc/moarvm/docs/japhb-todo.txt
/usr/share/doc/moarvm/docs/jit
/usr/share/doc/moarvm/docs/jit/how-to-add-an-missing-expression-operator.org
/usr/share/doc/moarvm/docs/jit/ir.md
/usr/share/doc/moarvm/docs/jit/overview.org
/usr/share/doc/moarvm/docs/jit/runtime.md
/usr/share/doc/moarvm/docs/jit/tiles.md
/usr/share/doc/moarvm/docs/jit/todo.org
/usr/share/doc/moarvm/docs/moar.pod
/usr/share/doc/moarvm/docs/release_guide.html
/usr/share/doc/moarvm/docs/release_guide.md
/usr/share/doc/moarvm/docs/reveal.html
/usr/share/doc/moarvm/docs/reveal.md
/usr/share/doc/moarvm/docs/strings.asciidoc
/usr/share/licenses/moarvm
/usr/share/licenses/moarvm/LICENSE
/usr/share/man/man1/moar.1.gz
/usr/share/nqp
/usr/share/nqp/lib
/usr/share/nqp/lib/MAST
/usr/share/nqp/lib/MAST/Nodes.nqp
/usr/share/nqp/lib/MAST/Ops.nqp
/usr/bin/moar
/usr/lib/.build-id
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/c465c3b6b65e8db41e0a5dfcd06a29dfa3bc8d
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/9eb5c3039c3ee52f4b32c38c9200ad00ca90ee
/usr/lib/libmoar.so
/usr/share/doc/moarvm
/usr/share/doc/moarvm/CREDITS
/usr/share/doc/moarvm/docs
/usr/share/doc/moarvm/docs/6model-parametric-extensions.html
/usr/share/doc/moarvm/docs/6model-parametric-extensions.markdown
/usr/share/doc/moarvm/docs/ChangeLog
/usr/share/doc/moarvm/docs/README.html
/usr/share/doc/moarvm/docs/README.md
/usr/share/doc/moarvm/docs/arg-passing.html
/usr/share/doc/moarvm/docs/arg-passing.markdown
/usr/share/doc/moarvm/docs/bootstrap.html
/usr/share/doc/moarvm/docs/bootstrap.markdown
/usr/share/doc/moarvm/docs/bytecode.html
/usr/share/doc/moarvm/docs/bytecode.markdown
/usr/share/doc/moarvm/docs/collation.asciidoc
/usr/share/doc/moarvm/docs/contributing.org
/usr/share/doc/moarvm/docs/debug-server-protocol.html
/usr/share/doc/moarvm/docs/debug-server-protocol.md
/usr/share/doc/moarvm/docs/exceptions.html
/usr/share/doc/moarvm/docs/exceptions.markdown
/usr/share/doc/moarvm/docs/extops.html
/usr/share/doc/moarvm/docs/extops.markdown
/usr/share/doc/moarvm/docs/gc.html
/usr/share/doc/moarvm/docs/gc.markdown
/usr/share/doc/moarvm/docs/heapsnapshot.html
/usr/share/doc/moarvm/docs/heapsnapshot.markdown
/usr/share/doc/moarvm/docs/interpreter.html
/usr/share/doc/moarvm/docs/interpreter.markdown
/usr/share/doc/moarvm/docs/japhb-todo.txt
/usr/share/doc/moarvm/docs/jit
/usr/share/doc/moarvm/docs/jit/how-to-add-an-missing-expression-operator.org
/usr/share/doc/moarvm/docs/jit/ir.md
/usr/share/doc/moarvm/docs/jit/overview.org
/usr/share/doc/moarvm/docs/jit/runtime.md
/usr/share/doc/moarvm/docs/jit/tiles.md
/usr/share/doc/moarvm/docs/jit/todo.org
/usr/share/doc/moarvm/docs/moar.pod
/usr/share/doc/moarvm/docs/release_guide.html
/usr/share/doc/moarvm/docs/release_guide.md
/usr/share/doc/moarvm/docs/reveal.html
/usr/share/doc/moarvm/docs/reveal.md
/usr/share/doc/moarvm/docs/strings.asciidoc
/usr/share/licenses/moarvm
/usr/share/licenses/moarvm/LICENSE
/usr/share/man/man1/moar.1.gz
/usr/share/nqp
/usr/share/nqp/lib
/usr/share/nqp/lib/MAST
/usr/share/nqp/lib/MAST/Nodes.nqp
/usr/share/nqp/lib/MAST/Ops.nqp

References

Summary

In this tutorial we learn how to install moarvm on Fedora 34 using yum and dnf.