How To Install libiodbc on Rocky Linux 8
Introduction
In this tutorial we learn how to install libiodbc
on Rocky Linux 8.
What is libiodbc
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
or dnf
to install libiodbc
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libiodbc.
Install libiodbc 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
using dnf
by running the following command:
sudo dnf -y install libiodbc
Install libiodbc 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
using yum
by running the following command:
sudo yum -y install libiodbc
How To Uninstall libiodbc on Rocky Linux 8
To uninstall only the libiodbc
package we can use the following command:
sudo dnf remove libiodbc
libiodbc Package Contents on Rocky Linux 8
/usr/bin/iodbctest
/usr/bin/iodbctestw
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/ca573e1646f5a1e2873321b0bd558abffe7d41
/usr/lib/.build-id/48
/usr/lib/.build-id/48/0b29079f1ed2870c65bf43b5c75683d878ad3a
/usr/lib/.build-id/69
/usr/lib/.build-id/69/e78b563e1c3c8d4007c2ea90e09988d7b4474c
/usr/lib/.build-id/df
/usr/lib/.build-id/df/ca29797248189ecc473df9d4d3488edf784f64
/usr/lib64/libiodbc.so.2
/usr/lib64/libiodbc.so.2.1.27
/usr/lib64/libiodbcinst.so.2
/usr/lib64/libiodbcinst.so.2.1.27
/usr/share/doc/libiodbc
/usr/share/doc/libiodbc/AUTHORS
/usr/share/doc/libiodbc/ChangeLog
/usr/share/doc/libiodbc/README
/usr/share/doc/libiodbc/odbc.ini.sample
/usr/share/doc/libiodbc/odbcinst.ini.sample
/usr/share/licenses/libiodbc
/usr/share/licenses/libiodbc/LICENSE
/usr/share/licenses/libiodbc/LICENSE.BSD
/usr/share/licenses/libiodbc/LICENSE.LGPL
/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
on Rocky Linux 8 using yum and dnf.