mrest command not found

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

Introduction

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

mrest: command not found

or when using sudo you get the following error message

sudo: mrest: command not found

Solutions to mrest: command not found

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

In Ubuntu mrest is provided by libweb-mrest-perl package.

libweb-mrest-perl is:

MREST stands for “minimalistic” or “mechanical” REST server. (Mechanical because it relies on Web::Machine.)

Web::MREST provides a fully functional REST server that can be started with a simple command. Without modification, the server provides a set of. generalized resources that can be used to demonstrate how the REST server works, or for testing.

Developers can use Web::MREST as a platform for implementing their own REST servers.

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

sudo apt-get -y install libweb-mrest-perl

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

You can also use apt command to install libweb-mrest-perl.

sudo apt -y install libweb-mrest-perl

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

sudo aptitude install libweb-mrest-perl

Summary

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