How To Install preludedb-mysql on Rocky Linux 8

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

Introduction

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

What is preludedb-mysql

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

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

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

sudo dnf -y install preludedb-mysql

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

sudo yum -y install preludedb-mysql

How To Uninstall preludedb-mysql on Rocky Linux 8

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

sudo dnf remove preludedb-mysql

preludedb-mysql Package Contents on Rocky Linux 8

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

References

Summary

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