How To Install unixODBC-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install unixODBC-devel.x86_64 in Amazon Linux 2. unixODBC-devel.x86_64 is Development files for programs which will use the unixODBC library

Introduction

In this tutorial we learn how to install unixODBC-devel.x86_64 on Amazon Linux 2.

What is unixODBC-devel.x86_64

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 to install unixODBC-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install unixODBC-devel.x86_64.

Install unixODBC-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install unixODBC-devel.x86_64 using yum by running the following command:

sudo yum -y install unixODBC-devel.x86_64

How To Uninstall unixODBC-devel.x86_64 on Amazon Linux 2

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

sudo yum remove unixODBC-devel.x86_64

unixODBC-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/autotest.h
/usr/include/odbcinst.h
/usr/include/odbcinstext.h
/usr/include/sql.h
/usr/include/sqlext.h
/usr/include/sqltypes.h
/usr/include/sqlucode.h
/usr/include/unixodbc_conf.h
/usr/include/unixodbc_conf_x86_64.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/libtdsS.so
/usr/lib64/libtemplate.so

References

Summary

In this tutorial we learn how to install unixODBC-devel.x86_64 on Amazon Linux 2 using yum.