How To Install libiodbc-devel on Rocky Linux 8

In this tutorial we learn how to install libiodbc-devel on Rocky Linux 8. libiodbc-devel is Header files and libraries for iODBC development

Introduction

In this tutorial we learn how to install libiodbc-devel on Rocky Linux 8.

What is libiodbc-devel

This package contains the header files and libraries needed to develop programs that use the driver manager.

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

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

sudo dnf -y install libiodbc-devel

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

sudo yum -y install libiodbc-devel

How To Uninstall libiodbc-devel on Rocky Linux 8

To uninstall only the libiodbc-devel package we can use the following command:

sudo dnf remove libiodbc-devel

libiodbc-devel Package Contents on Rocky Linux 8

/usr/bin/iodbc-config
/usr/include/libiodbc
/usr/include/libiodbc/iodbcext.h
/usr/include/libiodbc/iodbcinst.h
/usr/include/libiodbc/iodbcunix.h
/usr/include/libiodbc/isql.h
/usr/include/libiodbc/isqlext.h
/usr/include/libiodbc/isqltypes.h
/usr/include/libiodbc/odbcinst.h
/usr/include/libiodbc/sql.h
/usr/include/libiodbc/sqlext.h
/usr/include/libiodbc/sqltypes.h
/usr/include/libiodbc/sqlucode.h
/usr/lib64/libiodbc.so
/usr/lib64/libiodbcinst.so
/usr/lib64/pkgconfig/libiodbc.pc
/usr/share/man/man1/iodbc-config.1.gz

References

Summary

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