How To Install bogofilter on Fedora 36

In this tutorial we learn how to install bogofilter in Fedora 36. bogofilter is Fast anti-spam filtering by Bayesian statistical analysis

Introduction

In this tutorial we learn how to install bogofilter on Fedora 36.

What is bogofilter

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 or dnf to install bogofilter on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install bogofilter.

Install bogofilter on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install bogofilter

Install bogofilter on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install bogofilter

How To Uninstall bogofilter on Fedora 36

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

sudo dnf remove bogofilter

bogofilter Package Contents on Fedora 36

/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/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/4ba9ebf3977f48b6ccef5e5f19b584ae546e75
/usr/lib/.build-id/64
/usr/lib/.build-id/64/a7979c2eef2040ba89b1842a45aa7e3b326ab1
/usr/lib/.build-id/71
/usr/lib/.build-id/71/a272cb5b3677944c61d98fadd9db1d6de47d1e
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/6366de3b6bc1abf97f89111f347409d5166a81
/usr/share/doc/bogofilter
/usr/share/doc/bogofilter/AUTHORS
/usr/share/doc/bogofilter/COPYING
/usr/share/doc/bogofilter/NEWS
/usr/share/doc/bogofilter/README
/usr/share/doc/bogofilter/README.git
/usr/share/doc/bogofilter/RELEASE.NOTES
/usr/share/doc/bogofilter/TODO
/usr/share/doc/bogofilter/bogofilter-SA-2002-01
/usr/share/doc/bogofilter/bogofilter-SA-2004-01
/usr/share/doc/bogofilter/bogofilter-SA-2005-01
/usr/share/doc/bogofilter/bogofilter-SA-2005-02
/usr/share/doc/bogofilter/bogofilter-SA-2010-01
/usr/share/doc/bogofilter/bogofilter-SA-2012-01
/usr/share/doc/bogofilter/bogofilter-tuning.HOWTO.html
/usr/share/doc/bogofilter/bogofilter.cf.example
/usr/share/doc/bogofilter/contrib
/usr/share/doc/bogofilter/contrib/.deps
/usr/share/doc/bogofilter/contrib/.deps/.dirstamp
/usr/share/doc/bogofilter/contrib/.dirstamp
/usr/share/doc/bogofilter/contrib/README.contrib
/usr/share/doc/bogofilter/contrib/README.randomtrain
/usr/share/doc/bogofilter/contrib/bfproxy.pl
/usr/share/doc/bogofilter/contrib/bogo.R
/usr/share/doc/bogofilter/contrib/bogofilter-milter.pl
/usr/share/doc/bogofilter/contrib/bogofilter-qfe.sh
/usr/share/doc/bogofilter/contrib/bogogrep.c
/usr/share/doc/bogofilter/contrib/bogogrep.o
/usr/share/doc/bogofilter/contrib/bogominitrain.pl
/usr/share/doc/bogofilter/contrib/dot-qmail-bogofilter-default
/usr/share/doc/bogofilter/contrib/mailfilter.example
/usr/share/doc/bogofilter/contrib/mime.get.rfc822.pl
/usr/share/doc/bogofilter/contrib/parmtest.sh
/usr/share/doc/bogofilter/contrib/printmaildir.pl
/usr/share/doc/bogofilter/contrib/procmailrc.example
/usr/share/doc/bogofilter/contrib/randomtrain.sh
/usr/share/doc/bogofilter/contrib/scramble.sh
/usr/share/doc/bogofilter/contrib/spamitarium.pl
/usr/share/doc/bogofilter/contrib/stripsearch.pl
/usr/share/doc/bogofilter/contrib/trainbogo.sh
/usr/share/doc/bogofilter/contrib/vm-bogofilter.el
/usr/share/doc/bogofilter/html
/usr/share/doc/bogofilter/html/bf_compact.html
/usr/share/doc/bogofilter/html/bf_copy.html
/usr/share/doc/bogofilter/html/bf_tar.html
/usr/share/doc/bogofilter/html/bogofilter-faq-fr.html
/usr/share/doc/bogofilter/html/bogofilter-faq-it.html
/usr/share/doc/bogofilter/html/bogofilter-faq.html
/usr/share/doc/bogofilter/html/bogofilter-tuning.HOWTO.html
/usr/share/doc/bogofilter/html/bogofilter.html
/usr/share/doc/bogofilter/html/bogolexer.html
/usr/share/doc/bogofilter/html/bogotune-faq.html
/usr/share/doc/bogofilter/html/bogotune.html
/usr/share/doc/bogofilter/html/bogoupgrade.html
/usr/share/doc/bogofilter/html/bogoutil.html
/usr/share/doc/bogofilter/integrating-with-postfix
/usr/share/doc/bogofilter/integrating-with-qmail
/usr/share/doc/bogofilter/programmer
/usr/share/doc/bogofilter/programmer/OS2
/usr/share/doc/bogofilter/programmer/OS2/configure.os2
/usr/share/doc/bogofilter/programmer/README.RISC-OS
/usr/share/doc/bogofilter/programmer/README.freebsd
/usr/share/doc/bogofilter/programmer/README.hp-ux
/usr/share/doc/bogofilter/programmer/README.memory-checking
/usr/share/doc/bogofilter/programmer/README.osx
/usr/share/doc/bogofilter/programmer/RISC-OS
/usr/share/doc/bogofilter/programmer/RISC-OS/gsl
/usr/share/doc/bogofilter/programmer/RISC-OS/gsl/Makefile
/usr/share/doc/bogofilter/programmer/RISC-OS/src
/usr/share/doc/bogofilter/programmer/RISC-OS/src/Makefile
/usr/share/doc/bogofilter/xml
/usr/share/doc/bogofilter/xml/bf_compact.xml
/usr/share/doc/bogofilter/xml/bf_copy.xml
/usr/share/doc/bogofilter/xml/bf_tar.xml
/usr/share/doc/bogofilter/xml/bogofilter.xml
/usr/share/doc/bogofilter/xml/bogolexer.xml
/usr/share/doc/bogofilter/xml/bogotune.xml
/usr/share/doc/bogofilter/xml/bogoupgrade.xml
/usr/share/doc/bogofilter/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 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).