How To Install ogdi-odbc on Rocky Linux 8

In this tutorial we learn how to install ogdi-odbc on Rocky Linux 8. ogdi-odbc is ODBC driver for OGDI

Introduction

In this tutorial we learn how to install ogdi-odbc on Rocky Linux 8.

What is ogdi-odbc

ODBC driver for OGDI.

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

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

sudo dnf -y install ogdi-odbc

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

sudo yum -y install ogdi-odbc

How To Uninstall ogdi-odbc on Rocky Linux 8

To uninstall only the ogdi-odbc package we can use the following command:

sudo dnf remove ogdi-odbc

ogdi-odbc Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/b9/257e5e013cee67812cfcb264db35f25a4acfcc
/usr/lib64/ogdi/liblodbc.so

References

Summary

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