How To Install preludedb-pgsql on Rocky Linux 8

In this tutorial we learn how to install preludedb-pgsql on Rocky Linux 8. preludedb-pgsql is Plugin to use prelude with a PostgreSQL database

Introduction

In this tutorial we learn how to install preludedb-pgsql on Rocky Linux 8.

What is preludedb-pgsql

This plugin authorize prelude to store alerts into a PostgreSQL database.

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

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

sudo dnf -y install preludedb-pgsql

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

sudo yum -y install preludedb-pgsql

How To Uninstall preludedb-pgsql on Rocky Linux 8

To uninstall only the preludedb-pgsql package we can use the following command:

sudo dnf remove preludedb-pgsql

preludedb-pgsql Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/b4b7fb84c7a0bb7ef9d0ac59aea41e595533de
/usr/lib64/libpreludedb/plugins/sql/pgsql.so
/usr/share/libpreludedb/classic
/usr/share/libpreludedb/classic/pgsql-update-14-1.sql
/usr/share/libpreludedb/classic/pgsql-update-14-2.sql
/usr/share/libpreludedb/classic/pgsql-update-14-3.sql
/usr/share/libpreludedb/classic/pgsql-update-14-4.sql
/usr/share/libpreludedb/classic/pgsql-update-14-5.sql
/usr/share/libpreludedb/classic/pgsql-update-14-6.sql
/usr/share/libpreludedb/classic/pgsql-update-14-7.sql
/usr/share/libpreludedb/classic/pgsql-update-14-8.sql
/usr/share/libpreludedb/classic/pgsql.sql

References

Summary

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