How To Install opendbx-postgresql on Rocky Linux 8

In this tutorial we learn how to install opendbx-postgresql on Rocky Linux 8. opendbx-postgresql is PostgreSQL backend - provides postgresql support in opendbx

Introduction

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

What is opendbx-postgresql

Allows odbx_init with “pgsql” as the backend parameter.

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

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

sudo dnf -y install opendbx-postgresql

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

sudo yum -y install opendbx-postgresql

How To Uninstall opendbx-postgresql on Rocky Linux 8

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

sudo dnf remove opendbx-postgresql

opendbx-postgresql Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/4fff2bd7921066fff1ec42a49f5886805a44af
/usr/lib64/opendbx/libpgsqlbackend.so
/usr/lib64/opendbx/libpgsqlbackend.so.1
/usr/lib64/opendbx/libpgsqlbackend.so.1.2.0

References

Summary

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