How To Install bogofilter-bogoupgrade.x86_64 on Amazon Linux 2

In this tutorial we learn how to install bogofilter-bogoupgrade.x86_64 in Amazon Linux 2. bogofilter-bogoupgrade.x86_64 is Upgrades bogofilter database to current version

Introduction

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

What is bogofilter-bogoupgrade.x86_64

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 to install bogofilter-bogoupgrade.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-bogoupgrade.x86_64.

Install bogofilter-bogoupgrade.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-bogoupgrade.x86_64 using yum by running the following command:

sudo yum -y install bogofilter-bogoupgrade.x86_64

How To Uninstall bogofilter-bogoupgrade.x86_64 on Amazon Linux 2

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

sudo yum remove bogofilter-bogoupgrade.x86_64

bogofilter-bogoupgrade.x86_64 Package Contents on Amazon Linux 2

/usr/bin/bogoupgrade
/usr/share/man/man1/bogoupgrade.1.gz

References

Summary

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