morty command not found

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

Introduction

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

morty: command not found

or when using sudo you get the following error message

sudo: morty: command not found

Solutions to morty: command not found

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

In Ubuntu morty is provided by morty package.

morty is:

Morty Web content sanitizer proxy as a service

Morty rewrites web pages to exclude malicious HTML tags and attributes. It also replaces external resource references to prevent third party information leaks.

The main goal of morty is to provide a result proxy for searx, but it can be used as a standalone sanitizer service too.

Features:

  • HTML sanitization
  • Rewrites HTML/CSS external references to locals
  • JavaScript blocking
  • No Cookies forwarded
  • No Referrers
  • No Caching/Etag
  • Supports GET/POST forms and IFrames
  • Optional HMAC URL verifier key to prevent service abuse

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

sudo apt-get -y install morty

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

You can also use apt command to install morty.

sudo apt -y install morty

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

sudo aptitude install morty

Summary

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