How To Install libiodbc.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libiodbc.x86_64 in Amazon Linux 2. libiodbc.x86_64 is iODBC Driver Manager

Introduction

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

What is libiodbc.x86_64

The iODBC Driver Manager is a free implementation of the SAG CLI and ODBC compliant driver manager which allows developers to write ODBC compliant applications that can connect to various databases using appropriate backend drivers.

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

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

sudo yum -y install libiodbc.x86_64

How To Uninstall libiodbc.x86_64 on Amazon Linux 2

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

sudo yum remove libiodbc.x86_64

libiodbc.x86_64 Package Contents on Amazon Linux 2

/usr/bin/iodbctest
/usr/bin/iodbctestw
/usr/lib64/libiodbc.so.2
/usr/lib64/libiodbc.so.2.1.19
/usr/lib64/libiodbcinst.so.2
/usr/lib64/libiodbcinst.so.2.1.19
/usr/share/doc/libiodbc-3.52.7
/usr/share/doc/libiodbc-3.52.7/AUTHORS
/usr/share/doc/libiodbc-3.52.7/ChangeLog
/usr/share/doc/libiodbc-3.52.7/LICENSE
/usr/share/doc/libiodbc-3.52.7/LICENSE.BSD
/usr/share/doc/libiodbc-3.52.7/LICENSE.LGPL
/usr/share/doc/libiodbc-3.52.7/README
/usr/share/doc/libiodbc-3.52.7/odbc.ini.sample
/usr/share/doc/libiodbc-3.52.7/odbcinst.ini.sample
/usr/share/man/man1/iodbctest.1.gz
/usr/share/man/man1/iodbctestw.1.gz

References

Summary

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