How To Install unixODBC-devel on Rocky Linux 8

In this tutorial we learn how to install unixODBC-devel on Rocky Linux 8. unixODBC-devel is Development files for programs which will use the unixODBC library

Introduction

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

What is unixODBC-devel

The unixODBC package can be used to access databases through ODBC drivers. If you want to develop programs that will access data through ODBC, you need to install this package.

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

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

sudo dnf -y install unixODBC-devel

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

sudo yum -y install unixODBC-devel

How To Uninstall unixODBC-devel on Rocky Linux 8

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

sudo dnf remove unixODBC-devel

unixODBC-devel Package Contents on Rocky Linux 8

/usr/include/autotest.h
/usr/include/odbcinst.h
/usr/include/odbcinstext.h
/usr/include/sql.h
/usr/include/sqlext.h
/usr/include/sqlspi.h
/usr/include/sqltypes.h
/usr/include/sqlucode.h
/usr/include/unixodbc_conf-i386.h
/usr/include/unixodbc_conf.h
/usr/include/uodbc_extras.h
/usr/include/uodbc_stats.h
/usr/lib/libesoobS.so
/usr/lib/libmimerS.so
/usr/lib/libnn.so
/usr/lib/libodbccr.so
/usr/lib/libodbcdrvcfg1S.so
/usr/lib/libodbcdrvcfg2S.so
/usr/lib/libodbcminiS.so
/usr/lib/libodbcnnS.so
/usr/lib/libodbctxtS.so
/usr/lib/liboplodbcS.so
/usr/lib/liboraodbcS.so
/usr/lib/libsapdbS.so
/usr/lib/libtemplate.so
/usr/lib/pkgconfig/odbc.pc
/usr/lib/pkgconfig/odbccr.pc
/usr/lib/pkgconfig/odbcinst.pc
/usr/include/autotest.h
/usr/include/odbcinst.h
/usr/include/odbcinstext.h
/usr/include/sql.h
/usr/include/sqlext.h
/usr/include/sqlspi.h
/usr/include/sqltypes.h
/usr/include/sqlucode.h
/usr/include/unixodbc_conf-x86_64.h
/usr/include/unixodbc_conf.h
/usr/include/uodbc_extras.h
/usr/include/uodbc_stats.h
/usr/lib64/libesoobS.so
/usr/lib64/libmimerS.so
/usr/lib64/libnn.so
/usr/lib64/libodbccr.so
/usr/lib64/libodbcdrvcfg1S.so
/usr/lib64/libodbcdrvcfg2S.so
/usr/lib64/libodbcminiS.so
/usr/lib64/libodbcnnS.so
/usr/lib64/libodbctxtS.so
/usr/lib64/liboplodbcS.so
/usr/lib64/liboraodbcS.so
/usr/lib64/libsapdbS.so
/usr/lib64/libtemplate.so
/usr/lib64/pkgconfig/odbc.pc
/usr/lib64/pkgconfig/odbccr.pc
/usr/lib64/pkgconfig/odbcinst.pc

References

Summary

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