How To Install opendbx on CentOS 7

In this tutorial we learn how to install opendbx on CentOS 7. opendbx is Lightweight but extensible database access library written in C

Introduction

In this tutorial we learn how to install opendbx on CentOS 7.

What is opendbx

Provides an abstraction layer to all supported databases with a single, clean and simple interface that leads to an elegant code design automatically. If you want your application to support different databases with little effort, this is definitively the right thing for you!

We can use yum or dnf to install opendbx on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install opendbx.

Install opendbx on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install opendbx using yum by running the following command:

sudo yum -y install opendbx

Install opendbx on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install opendbx using dnf by running the following command:

sudo dnf -y install opendbx

How To Uninstall opendbx on CentOS 7

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

sudo dnf remove opendbx

References

Summary

In this tutorial we learn how to install opendbx on CentOS 7 using yum and dnf.