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

In this tutorial we learn how to install libiodbc-devel.x86_64 in Amazon Linux 2. libiodbc-devel.x86_64 is Header files and libraries for iODBC development

Introduction

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

What is libiodbc-devel.x86_64

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

We can use yum to install libiodbc-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 libiodbc-devel.x86_64.

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

sudo yum -y install libiodbc-devel.x86_64

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

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

sudo yum remove libiodbc-devel.x86_64

libiodbc-devel.x86_64 Package Contents on Amazon Linux 2

/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.x86_64 on Amazon Linux 2 using yum.