How To Install mariadb-oqgraph-engine on Rocky Linux 8

In this tutorial we learn how to install mariadb-oqgraph-engine on Rocky Linux 8. mariadb-oqgraph-engine is The Open Query GRAPH engine for MariaDB

Introduction

In this tutorial we learn how to install mariadb-oqgraph-engine on Rocky Linux 8.

What is mariadb-oqgraph-engine

The package provides Open Query GRAPH engine (OQGRAPH) as plugin for MariaDB database server. OQGRAPH is a computation engine allowing hierarchies and more complex graph structures to be handled in a relational fashion. In a nutshell, tree structures and friend-of-a-friend style searches can now be done using standard SQL syntax, and results joined onto other tables.

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

Install mariadb-oqgraph-engine 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 mariadb-oqgraph-engine using dnf by running the following command:

sudo dnf -y install mariadb-oqgraph-engine

Install mariadb-oqgraph-engine 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 mariadb-oqgraph-engine using yum by running the following command:

sudo yum -y install mariadb-oqgraph-engine

How To Uninstall mariadb-oqgraph-engine on Rocky Linux 8

To uninstall only the mariadb-oqgraph-engine package we can use the following command:

sudo dnf remove mariadb-oqgraph-engine

mariadb-oqgraph-engine Package Contents on Rocky Linux 8

/etc/my.cnf.d/oqgraph.cnf
/usr/lib/.build-id
/usr/lib/.build-id/36/5b543e731167496e0f9c5420d27964b5c51524
/usr/lib64/mariadb/plugin/ha_oqgraph.so

References

Summary

In this tutorial we learn how to install mariadb-oqgraph-engine on Rocky Linux 8 using yum and dnf.