How To Install postfix-cdb on Rocky Linux 8

In this tutorial we learn how to install postfix-cdb on Rocky Linux 8. postfix-cdb is Postfix CDB map support

Introduction

In this tutorial we learn how to install postfix-cdb on Rocky Linux 8.

What is postfix-cdb

This provides support for CDB maps in Postfix. If you plan to use CDB maps with Postfix, you need this.

We can use yum or dnf to install postfix-cdb on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install postfix-cdb.

Install postfix-cdb on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install postfix-cdb

Install postfix-cdb on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install postfix-cdb

How To Uninstall postfix-cdb on Rocky Linux 8

To uninstall only the postfix-cdb package we can use the following command:

sudo dnf remove postfix-cdb

postfix-cdb Package Contents on Rocky Linux 8

/etc/postfix/dynamicmaps.cf.d/cdb
/etc/postfix/postfix-files.d/cdb
/usr/lib/.build-id
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/ea93d2f3a577468afe9c0f1151e24526500ec3
/usr/lib64/postfix/postfix-cdb.so
/usr/share/doc/postfix/README_FILES/CDB_README

References

Summary

In this tutorial we learn how to install postfix-cdb on Rocky Linux 8 using yum and dnf.