How To Install fuzzyocr on Debian 10

Learn how to install fuzzyocr on Debian 10 with this tutorial. fuzzyocr is spamassassin plugin to check image attachments

Introduction

In this tutorial we learn how to install fuzzyocr on Debian 10.

What is fuzzyocr

fuzzyocr is:

This Spamassassin plugin checks for specific keywords in image/gif, image/jpeg or image/png attachments, using gocr (an optical character recognition program). This plugin can be used to detect spam that puts all the real spam content in an attached image, while the mail itself is only random text and random html, without any URL’s or identifiable information. Additionally to the normal OcrPlugin, it can do approximate matches on words, so errors in recognition or attempts to obfuscate the text inside the image will not cause the detection to fail.

This is a development version from SVN. Currently, this SVN version is the only one that works with spamassassin 3.2.

There are three methods to install fuzzyocr on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install fuzzyocr Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install fuzzyocr using apt-get by running the following command:

sudo apt-get -y install fuzzyocr

Install fuzzyocr Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install fuzzyocr using apt by running the following command:

sudo apt -y install fuzzyocr

Install fuzzyocr Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install fuzzyocr using aptitude by running the following command:

sudo aptitude -y install fuzzyocr

How To Uninstall fuzzyocr on Debian 10

To uninstall only the fuzzyocr package we can use the following command:

sudo apt-get remove fuzzyocr

Uninstall fuzzyocr And Its Dependencies

To uninstall fuzzyocr and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove fuzzyocr

Remove fuzzyocr Configurations and Data

To remove fuzzyocr configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge fuzzyocr

Remove fuzzyocr configuration, data, and all of its dependencies

We can use the following command to remove fuzzyocr configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge fuzzyocr

Dependencies

fuzzyocr have the following dependencies:

References

Summary

In this tutorial we learn how to install fuzzyocr package on Debian 10 using different package management tools: apt, apt-get and aptitude.