How To Install pdns-backend-postgresql on Rocky Linux 8

In this tutorial we learn how to install pdns-backend-postgresql on Rocky Linux 8. pdns-backend-postgresql is PostgreSQL backend for pdns

Introduction

In this tutorial we learn how to install pdns-backend-postgresql on Rocky Linux 8.

What is pdns-backend-postgresql

This package contains the gpgsql backend for pdns

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

Install pdns-backend-postgresql 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 pdns-backend-postgresql using dnf by running the following command:

sudo dnf -y install pdns-backend-postgresql

Install pdns-backend-postgresql 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 pdns-backend-postgresql using yum by running the following command:

sudo yum -y install pdns-backend-postgresql

How To Uninstall pdns-backend-postgresql on Rocky Linux 8

To uninstall only the pdns-backend-postgresql package we can use the following command:

sudo dnf remove pdns-backend-postgresql

pdns-backend-postgresql Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/68
/usr/lib/.build-id/68/3d17e2a43cbdcc471e79b623345fff3e19f0cd
/usr/lib64/pdns/libgpgsqlbackend.so
/usr/share/doc/pdns/3.4.0_to_4.1.0_schema.pgsql.sql
/usr/share/doc/pdns/4.1.0_to_4.2.0_schema.pgsql.sql
/usr/share/doc/pdns/4.2.0_to_4.3.0_schema.pgsql.sql
/usr/share/doc/pdns/dnssec-3.x_to_3.4.0_schema.pgsql.sql
/usr/share/doc/pdns/nodnssec-3.x_to_3.4.0_schema.pgsql.sql
/usr/share/doc/pdns/schema.pgsql.sql

References

Summary

In this tutorial we learn how to install pdns-backend-postgresql on Rocky Linux 8 using yum and dnf.