sanitizer command not found

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

Introduction

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

sanitizer: command not found

or when using sudo you get the following error message

sudo: sanitizer: command not found

Solutions to sanitizer: command not found

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

In Ubuntu sanitizer is provided by sanitizer package.

sanitizer is:

The Anomy sanitizer is what most people would call “an email virus scanner”. That description is not totally accurate, but it does cover one of the more important jobs that the sanitizer can do for you - it can scan email attachments for viruses. Other things it can do:

Disable potentially dangerous HTML code, such as javascript, within incoming email.

Protect you from email-based break-in attempts which exploit bugs in common email programs (Outlook, Eudora, Pine, …).

Block or “mangle” attachments based on their file names. This way if you don’t need to receive e.g. visual basic scripts, then you don’t have to worry about the security risk they imply (the ILOVEYOU virus was a visual basic program). This lets you protect yourself and your users from whole classes of attacks, without relying on complex, resource intensive and outdated virus scanning solutions.

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

sudo apt-get -y install sanitizer

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

You can also use apt command to install sanitizer.

sudo apt -y install sanitizer

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

sudo aptitude install sanitizer

Summary

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