How To Install fuzzyocr on Kali Linux
Introduction
In this tutorial we learn how to install fuzzyocr
on Kali Linux.
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 Kali Linux. 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 on Kali Linux first since aptitude is usually not installed by default on Kali Linux. 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 Kali Linux
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 Kali Linux, we can use the command below:
sudo apt-get -y autoremove fuzzyocr
Remove fuzzyocr Configurations and Data
To remove fuzzyocr
configuration and data from Kali Linux 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:
- giflib-tools
- gifsicle
- gocr
- libdbd-mysql-perl
- libdigest-md5-perl
- libmldbm-sync-perl
- libstring-approx-perl
- libtie-cache-perl
- netpbm
- spamassassin
- tesseract-ocr-eng
References
Summary
In this tutorial we learn how to install fuzzyocr
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.