How To Install bogofilter-bogoupgrade on CentOS 7

In this tutorial we learn how to install bogofilter-bogoupgrade on CentOS 7. bogofilter-bogoupgrade is Upgrades bogofilter database to current version

Introduction

In this tutorial we learn how to install bogofilter-bogoupgrade on CentOS 7.

What is bogofilter-bogoupgrade

bogoupgrade is a command to upgrade bogofilter’s databases from an old format to the current format. Since the format of the database changes once in a while, the utility is designed to make the upgrade easy. bogoupgrade is in an extra package to remove the perl dependency on the main bogofilter package.

We can use yum or dnf to install bogofilter-bogoupgrade on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install bogofilter-bogoupgrade.

Install bogofilter-bogoupgrade on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install bogofilter-bogoupgrade

Install bogofilter-bogoupgrade on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install bogofilter-bogoupgrade

How To Uninstall bogofilter-bogoupgrade on CentOS 7

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

sudo dnf remove bogofilter-bogoupgrade

References

Summary

In this tutorial we learn how to install bogofilter-bogoupgrade on CentOS 7 using yum and dnf.