How To Install opendbx-mysql on Rocky Linux 8

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

Introduction

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

What is opendbx-mysql

Allows odbx_init with “mysql” as the backend parameter.

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

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

sudo dnf -y install opendbx-mysql

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

sudo yum -y install opendbx-mysql

How To Uninstall opendbx-mysql on Rocky Linux 8

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

sudo dnf remove opendbx-mysql

opendbx-mysql Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/76863df4b20faa41b9f6056ab4dec25faa58cc
/usr/lib64/opendbx/libmysqlbackend.so
/usr/lib64/opendbx/libmysqlbackend.so.1
/usr/lib64/opendbx/libmysqlbackend.so.1.2.0

References

Summary

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