mrest-cli command not found

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

Introduction

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

mrest-cli: command not found

or when using sudo you get the following error message

sudo: mrest-cli: command not found

Solutions to mrest-cli: command not found

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

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

libweb-mrest-cli-perl is:

Web::MREST provides a fully functional REST server that can be started with a simple command.

Web::MREST::CLI exports some “generalized” functions that are used internally and might also be useful for writing CLI clients in general.

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

sudo apt-get -y install libweb-mrest-cli-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-cli-perl.

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

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

sudo aptitude install libweb-mrest-cli-perl

Summary

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