How To Install libiodbc on Fedora 34

libiodbc is iODBC Driver Manager iODBC Driver Manager

Introduction

In this tutorial we learn how to install libiodbc on Fedora 34.

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. libiodbc 3.52.13 5.fc34 x86_64 222 k libiodbc-3.52.13-5.fc34.src.rpm fedora iODBC Driver Manager http LGPLv2 or BSD 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libiodbc.

Install libiodbc on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libiodbc using dnf by running the following command:

sudo dnf -y install libiodbc

Install libiodbc on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove libiodbc

libiodbc Package Contents on Fedora 34

/usr/bin/iodbctest
/usr/bin/iodbctestw
/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/47215aa614300685769ea7e5c105d41429640b
/usr/lib/.build-id/1d/d555902f3f467fe44f666f59deacc3d95c4abb
/usr/lib/.build-id/23
/usr/lib/.build-id/23/c65dfe609701e79e0ed36ad0f047a735a6e84e
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/17fe36b7d40a22901edffc8f38f2e6f66dc9cd
/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
/usr/bin/iodbctest
/usr/bin/iodbctestw
/usr/lib/.build-id
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/27da38a05edfab5ec8b81df4f9fed35566c500
/usr/lib/.build-id/76
/usr/lib/.build-id/76/059ca071cd4eee0211929cbaef97a39b814ea0
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/65c73e1732d8568d49d4b1cbebe14f4991ebe2
/usr/lib/.build-id/db
/usr/lib/.build-id/db/9633fe9e867ff2b525f4f6d6eb3396d4a45cca
/usr/lib/libiodbc.so.2
/usr/lib/libiodbc.so.2.1.27
/usr/lib/libiodbcinst.so.2
/usr/lib/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 Fedora 34 using yum and dnf.