How To Install bogofilter.x86_64 on Amazon Linux 2

In this tutorial we learn how to install bogofilter.x86_64 in Amazon Linux 2. bogofilter.x86_64 is Fast anti-spam filtering by Bayesian statistical analysis

Introduction

In this tutorial we learn how to install bogofilter.x86_64 on Amazon Linux 2.

What is bogofilter.x86_64

Bogofilter is a Bayesian spam filter. In its normal mode of operation, it takes an email message or other text on standard input, does a statistical check against lists of “good” and “bad” words, and returns a status code indicating whether or not the message is spam. Bogofilter is designed with fast algorithms (including Berkeley DB system), coded directly in C, and tuned for speed, so it can be used for production by sites that process a lot of mail.

We can use yum to install bogofilter.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install bogofilter.x86_64.

Install bogofilter.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install bogofilter.x86_64 using yum by running the following command:

sudo yum -y install bogofilter.x86_64

How To Uninstall bogofilter.x86_64 on Amazon Linux 2

To uninstall only the bogofilter.x86_64 package we can use the following command:

sudo yum remove bogofilter.x86_64

bogofilter.x86_64 Package Contents on Amazon Linux 2

/etc/bogofilter.cf
/usr/bin/bf_compact
/usr/bin/bf_copy
/usr/bin/bf_tar
/usr/bin/bogofilter
/usr/bin/bogolexer
/usr/bin/bogotune
/usr/bin/bogoutil
/usr/share/doc/bogofilter-1.2.3
/usr/share/doc/bogofilter-1.2.3/AUTHORS
/usr/share/doc/bogofilter-1.2.3/COPYING
/usr/share/doc/bogofilter-1.2.3/NEWS
/usr/share/doc/bogofilter-1.2.3/README
/usr/share/doc/bogofilter-1.2.3/README.svn
/usr/share/doc/bogofilter-1.2.3/RELEASE.NOTES
/usr/share/doc/bogofilter-1.2.3/TODO
/usr/share/doc/bogofilter-1.2.3/bogofilter-SA-2002-01
/usr/share/doc/bogofilter-1.2.3/bogofilter-SA-2004-01
/usr/share/doc/bogofilter-1.2.3/bogofilter-tuning.HOWTO.html
/usr/share/doc/bogofilter-1.2.3/bogofilter.cf.example
/usr/share/doc/bogofilter-1.2.3/contrib
/usr/share/doc/bogofilter-1.2.3/contrib/README.contrib
/usr/share/doc/bogofilter-1.2.3/contrib/README.randomtrain
/usr/share/doc/bogofilter-1.2.3/contrib/bfproxy.pl
/usr/share/doc/bogofilter-1.2.3/contrib/bogo.R
/usr/share/doc/bogofilter-1.2.3/contrib/bogofilter-milter.pl
/usr/share/doc/bogofilter-1.2.3/contrib/bogofilter-qfe.sh
/usr/share/doc/bogofilter-1.2.3/contrib/bogogrep.c
/usr/share/doc/bogofilter-1.2.3/contrib/bogominitrain.pl
/usr/share/doc/bogofilter-1.2.3/contrib/dot-qmail-bogofilter-default
/usr/share/doc/bogofilter-1.2.3/contrib/mailfilter.example
/usr/share/doc/bogofilter-1.2.3/contrib/mime.get.rfc822.pl
/usr/share/doc/bogofilter-1.2.3/contrib/parmtest.sh
/usr/share/doc/bogofilter-1.2.3/contrib/printmaildir.pl
/usr/share/doc/bogofilter-1.2.3/contrib/procmailrc.example
/usr/share/doc/bogofilter-1.2.3/contrib/randomtrain.sh
/usr/share/doc/bogofilter-1.2.3/contrib/scramble.sh
/usr/share/doc/bogofilter-1.2.3/contrib/spamitarium.pl
/usr/share/doc/bogofilter-1.2.3/contrib/stripsearch.pl
/usr/share/doc/bogofilter-1.2.3/contrib/trainbogo.sh
/usr/share/doc/bogofilter-1.2.3/contrib/vm-bogofilter.el
/usr/share/doc/bogofilter-1.2.3/html
/usr/share/doc/bogofilter-1.2.3/html/bf_compact.html
/usr/share/doc/bogofilter-1.2.3/html/bf_copy.html
/usr/share/doc/bogofilter-1.2.3/html/bf_tar.html
/usr/share/doc/bogofilter-1.2.3/html/bogofilter-faq-fr.html
/usr/share/doc/bogofilter-1.2.3/html/bogofilter-faq-it.html
/usr/share/doc/bogofilter-1.2.3/html/bogofilter-faq.html
/usr/share/doc/bogofilter-1.2.3/html/bogofilter-tuning.HOWTO.html
/usr/share/doc/bogofilter-1.2.3/html/bogofilter.html
/usr/share/doc/bogofilter-1.2.3/html/bogolexer.html
/usr/share/doc/bogofilter-1.2.3/html/bogotune-faq.html
/usr/share/doc/bogofilter-1.2.3/html/bogotune.html
/usr/share/doc/bogofilter-1.2.3/html/bogoupgrade.html
/usr/share/doc/bogofilter-1.2.3/html/bogoutil.html
/usr/share/doc/bogofilter-1.2.3/integrating-with-postfix
/usr/share/doc/bogofilter-1.2.3/integrating-with-qmail
/usr/share/doc/bogofilter-1.2.3/programmer
/usr/share/doc/bogofilter-1.2.3/programmer/OS2
/usr/share/doc/bogofilter-1.2.3/programmer/OS2/configure.os2
/usr/share/doc/bogofilter-1.2.3/programmer/README.RISC-OS
/usr/share/doc/bogofilter-1.2.3/programmer/README.freebsd
/usr/share/doc/bogofilter-1.2.3/programmer/README.hp-ux
/usr/share/doc/bogofilter-1.2.3/programmer/README.memory-checking
/usr/share/doc/bogofilter-1.2.3/programmer/README.osx
/usr/share/doc/bogofilter-1.2.3/programmer/RISC-OS
/usr/share/doc/bogofilter-1.2.3/programmer/RISC-OS/gsl
/usr/share/doc/bogofilter-1.2.3/programmer/RISC-OS/gsl/Makefile
/usr/share/doc/bogofilter-1.2.3/programmer/RISC-OS/src
/usr/share/doc/bogofilter-1.2.3/programmer/RISC-OS/src/Makefile
/usr/share/doc/bogofilter-1.2.3/xml
/usr/share/doc/bogofilter-1.2.3/xml/bf_compact.xml
/usr/share/doc/bogofilter-1.2.3/xml/bf_copy.xml
/usr/share/doc/bogofilter-1.2.3/xml/bf_tar.xml
/usr/share/doc/bogofilter-1.2.3/xml/bogofilter.xml
/usr/share/doc/bogofilter-1.2.3/xml/bogolexer.xml
/usr/share/doc/bogofilter-1.2.3/xml/bogotune.xml
/usr/share/doc/bogofilter-1.2.3/xml/bogoupgrade.xml
/usr/share/doc/bogofilter-1.2.3/xml/bogoutil.xml
/usr/share/man/man1/bf_compact.1.gz
/usr/share/man/man1/bf_copy.1.gz
/usr/share/man/man1/bf_tar.1.gz
/usr/share/man/man1/bogofilter.1.gz
/usr/share/man/man1/bogolexer.1.gz
/usr/share/man/man1/bogotune.1.gz
/usr/share/man/man1/bogoutil.1.gz

References

Summary

In this tutorial we learn how to install bogofilter.x86_64 on Amazon Linux 2 using yum.