moar command not found

In this troubleshooting guide we learn how to fix moar command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

moar: command not found

or when using sudo you get the following error message

sudo: moar: command not found

Solutions to moar: command not found

How To Fix moar: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu moar is provided by moarvm package.

moarvm is:

Short for “Metamodel On A Runtime”, MoarVM is a modern virtual machine built for the Rakudo Raku (formerly Perl 6) compiler and the NQP Compiler Toolchain. MoarVM is used by the majority of Raku programmers.

Highlights include:

  • Great Unicode support, with strings represented at grapheme level
  • Dynamic analysis of running code to identify hot functions and loops, and perform a range of optimizations, including type specialization and inlining
  • Support for threads, a range of concurrency control constructs, and asynchronous sockets, timers, processes, and more
  • Generational, parallel, garbage collection
  • Support for numerous language features, including first class functions, exceptions, continuations, runtime loading of code, big integers and interfacing with native libraries

To fix this problem, we can install more using the command below.

sudo apt-get -y install moarvm

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install moarvm.

sudo apt -y install moarvm

Or if you have aptitude installed you can use the following command.

sudo aptitude install moarvm

Summary

In this tutorial we learn how to fix moar command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.