How To Install unixODBC on Rocky Linux 8

In this tutorial we learn how to install unixODBC on Rocky Linux 8. unixODBC is A complete ODBC driver manager for Linux

Introduction

In this tutorial we learn how to install unixODBC on Rocky Linux 8.

What is unixODBC

Install unixODBC if you want to access databases through ODBC. You will also need the mariadb-connector-odbc package if you want to access a MySQL or MariaDB database, and/or the postgresql-odbc package for PostgreSQL.

We can use yum or dnf to install unixODBC on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install unixODBC.

Install unixODBC 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 unixODBC using dnf by running the following command:

sudo dnf -y install unixODBC

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

sudo yum -y install unixODBC

How To Uninstall unixODBC on Rocky Linux 8

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

sudo dnf remove unixODBC

unixODBC Package Contents on Rocky Linux 8

/etc/odbc.ini
/etc/odbcinst.ini
/usr/bin/dltest
/usr/bin/isql
/usr/bin/iusql
/usr/bin/odbc_config
/usr/bin/odbcinst
/usr/bin/slencheck
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/5a45f9d5e736bc66519178eff983bd0b92aa62
/usr/lib/.build-id/03/7076d60d3c8c64ad49da0b19ec4892385e7863
/usr/lib/.build-id/09
/usr/lib/.build-id/09/fceb0be61b0427a933e122686afde14464a2f5
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/2d0554036a805f711ce41c9b0d820d54f87172
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/d9df3e61864beacbf30edbcb8a7edc04d809e4
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/4abccd6192dab296ee44c3fd755add626d8951
/usr/lib/.build-id/21
/usr/lib/.build-id/21/bcf3ea2900fe95e0ae4cca687d2d1a879e3806
/usr/lib/.build-id/27
/usr/lib/.build-id/27/5f832337b8d80f658afb9ce855bd6a626f66f0
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/2604428ffe11f64caca2097242a98282bc47bd
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/7433c1722de514c1f3c22647613c5d1fc49874
/usr/lib/.build-id/49
/usr/lib/.build-id/49/6bfb13cfec0659586d49657f5997301e5bd809
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/da78f5dd7bf8e34153aa33c350fa9886b2a179
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/59830fdc5c3df35229f41222c467ca4b3a0375
/usr/lib/.build-id/72
/usr/lib/.build-id/72/b7ad6f202bd294bd85e8d6cbbb7ddd7bdb6720
/usr/lib/.build-id/78
/usr/lib/.build-id/78/eede3aad310929a37e8b96846e5c69f823fc17
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/b62f831213ee3c58fb5a17207d7d1e7293d6d8
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/c41240357149c77d8e6f05fcaca4c08cfc8279
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/d6c6e1f355d8b6002b81ba646246e955648d78
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/78006a9900126091b1d052a168e6ff7979d055
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/2944ec315056a3e07854b58ba89733e3b91717
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/4d649cffcc71111742de1e101de691cd0d33a7
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/73b8e46818bcd1ee794480f1880be47ac5a4eb
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/d96c3d229cac76bf0ce1dd1228e38175cb64a1
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/12eafb8f08f0021259e9964ba0ea68eb24650d
/usr/lib/libesoobS.so.2
/usr/lib/libesoobS.so.2.0.0
/usr/lib/libmimerS.so.2
/usr/lib/libmimerS.so.2.0.0
/usr/lib/libnn.so.2
/usr/lib/libnn.so.2.0.0
/usr/lib/libodbc.so
/usr/lib/libodbc.so.2
/usr/lib/libodbc.so.2.0.0
/usr/lib/libodbccr.so.2
/usr/lib/libodbccr.so.2.0.0
/usr/lib/libodbcdrvcfg1S.so.2
/usr/lib/libodbcdrvcfg1S.so.2.0.0
/usr/lib/libodbcdrvcfg2S.so.2
/usr/lib/libodbcdrvcfg2S.so.2.0.0
/usr/lib/libodbcinst.so
/usr/lib/libodbcinst.so.2
/usr/lib/libodbcinst.so.2.0.0
/usr/lib/libodbcminiS.so.2
/usr/lib/libodbcminiS.so.2.0.0
/usr/lib/libodbcmyS.so
/usr/lib/libodbcmyS.so.2
/usr/lib/libodbcmyS.so.2.0.0
/usr/lib/libodbcnnS.so.2
/usr/lib/libodbcnnS.so.2.0.0
/usr/lib/libodbcpsqlS.so
/usr/lib/libodbcpsqlS.so.2
/usr/lib/libodbcpsqlS.so.2.0.0
/usr/lib/libodbctxtS.so.2
/usr/lib/libodbctxtS.so.2.0.0
/usr/lib/liboplodbcS.so.2
/usr/lib/liboplodbcS.so.2.0.0
/usr/lib/liboraodbcS.so.2
/usr/lib/liboraodbcS.so.2.0.0
/usr/lib/libsapdbS.so.2
/usr/lib/libsapdbS.so.2.0.0
/usr/lib/libtdsS.so
/usr/lib/libtdsS.so.2
/usr/lib/libtdsS.so.2.0.0
/usr/lib/libtemplate.so.2
/usr/lib/libtemplate.so.2.0.0
/usr/share/doc/unixODBC
/usr/share/doc/unixODBC/AUTHORS
/usr/share/doc/unixODBC/COPYING
/usr/share/doc/unixODBC/ChangeLog
/usr/share/doc/unixODBC/NEWS
/usr/share/doc/unixODBC/README
/usr/share/doc/unixODBC/README.dist
/usr/share/doc/unixODBC/doc
/usr/share/doc/unixODBC/doc/AdministratorManual
/usr/share/doc/unixODBC/doc/AdministratorManual/index.html
/usr/share/doc/unixODBC/doc/AdministratorManual/odbcinst.html
/usr/share/doc/unixODBC/doc/AdministratorManual/php3.html
/usr/share/doc/unixODBC/doc/AdministratorManual/unixODBC.gif
/usr/share/doc/unixODBC/doc/AdministratorManual/unixODBCsetup.html
/usr/share/doc/unixODBC/doc/ProgrammerManual
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/close.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/conne.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/dsn.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/gloss.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/index.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/intro.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/navi.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/odbc.css
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/query.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/resul.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/index.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/unixODBC.gif
/usr/share/doc/unixODBC/doc/UserManual
/usr/share/doc/unixODBC/doc/UserManual/Figure1.gif
/usr/share/doc/unixODBC/doc/UserManual/Figure2.gif
/usr/share/doc/unixODBC/doc/UserManual/Figure3.gif
/usr/share/doc/unixODBC/doc/UserManual/Figure4.gif
/usr/share/doc/unixODBC/doc/UserManual/Figure6.gif
/usr/share/doc/unixODBC/doc/UserManual/My.sql
/usr/share/doc/unixODBC/doc/UserManual/StarOfficeDataGrid.gif
/usr/share/doc/unixODBC/doc/UserManual/index.html
/usr/share/doc/unixODBC/doc/UserManual/unixODBC.gif
/usr/share/doc/unixODBC/doc/index.html
/usr/share/doc/unixODBC/doc/lst
/usr/share/doc/unixODBC/doc/lst/InternalStructure.gif
/usr/share/doc/unixODBC/doc/lst/InternalStructure.html
/usr/share/doc/unixODBC/doc/lst/InternalStructure.vsd
/usr/share/doc/unixODBC/doc/lst/InternalStructure2.gif
/usr/share/doc/unixODBC/doc/lst/InternalStructure2.html
/usr/share/doc/unixODBC/doc/lst/InternalStructure3.gif
/usr/share/doc/unixODBC/doc/lst/InternalStructure3.html
/usr/share/doc/unixODBC/doc/lst/InternalStructure4.gif
/usr/share/doc/unixODBC/doc/lst/InternalStructure4.html
/usr/share/doc/unixODBC/doc/lst/InternalStructure5.gif
/usr/share/doc/unixODBC/doc/lst/InternalStructure5.html
/usr/share/doc/unixODBC/doc/lst/InternalStructure6.gif
/usr/share/doc/unixODBC/doc/lst/InternalStructure6.html
/usr/share/doc/unixODBC/doc/lst/InternalStructure7.gif
/usr/share/doc/unixODBC/doc/lst/InternalStructure7.html
/usr/share/doc/unixODBC/doc/lst/InternalStructure8.gif
/usr/share/doc/unixODBC/doc/lst/InternalStructure8.html
/usr/share/doc/unixODBC/doc/lst/InternalStructure9.gif
/usr/share/doc/unixODBC/doc/lst/InternalStructure9.html
/usr/share/doc/unixODBC/doc/lst/back.gif
/usr/share/doc/unixODBC/doc/lst/next.gif
/usr/share/doc/unixODBC/doc/smallbook.gif
/usr/share/doc/unixODBC/doc/unixODBC.gif
/usr/share/man/man1/dltest.1.gz
/usr/share/man/man1/isql.1.gz
/usr/share/man/man1/iusql.1.gz
/usr/share/man/man1/odbc_config.1.gz
/usr/share/man/man1/odbcinst.1.gz
/usr/share/man/man5/odbc.ini.5.gz
/usr/share/man/man5/odbcinst.ini.5.gz
/usr/share/man/man7/unixODBC.7.gz
/etc/odbc.ini
/etc/odbcinst.ini
/usr/bin/dltest
/usr/bin/isql
/usr/bin/iusql
/usr/bin/odbc_config
/usr/bin/odbcinst
/usr/bin/slencheck
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/7a1bf014ce71c1bc63f5d76c5f87241f83308f
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/abd413b4a9cd81f338ef6709c08d699c7b43d6
/usr/lib/.build-id/14
/usr/lib/.build-id/14/d0c02fca414fd149745e5fe4b6158ed073b3dc
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/0ad819aef0dbc45369da6a8edf7a3bf670114e
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/ec8d7b5586db7b33460a399da64761731968ea
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/eb48d2ee87ba2edc8dafb7be96196357e81973
/usr/lib/.build-id/55
/usr/lib/.build-id/55/f3385b1f546b0887560b26ed18cbd85ece5aea
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/3afbad9b20ac26370cd706aed77a39c1dd2b9d
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/62f8e1573e3c67949620557e7400db956b5854
/usr/lib/.build-id/69
/usr/lib/.build-id/69/bc47a7ed018d1d9491c972da5277e7b9925082
/usr/lib/.build-id/76
/usr/lib/.build-id/76/d3b94638524faafe46a595a33c4f368c3f7f1e
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/0ff0f441cb32b027570f3e757eb905c0d98324
/usr/lib/.build-id/80
/usr/lib/.build-id/80/8b5d933f5f211979e7d3f7a16c6c321c8e5d4e
/usr/lib/.build-id/81
/usr/lib/.build-id/81/01b1bae887ae7f30ddac8f913ec8922bf62bd1
/usr/lib/.build-id/84
/usr/lib/.build-id/84/b1af96a6684e6b9a7217a3ba4539b98a88badc
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/7cff70d883ba625e93664aba00223b9cce73fd
/usr/lib/.build-id/90
/usr/lib/.build-id/90/e2d0da23e402c23eb44af3653806cded282384
/usr/lib/.build-id/96
/usr/lib/.build-id/96/3fe625bfa9da7dcd03eb6ca192d4b9d435cf9d
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/146cee8b5e49abe3770ef19d203ca958f92879
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/c2524a97e34deefc3b353706c6ae0ecc720b6f
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/f1353363aaab0984d6f7f96f976ca4cb2883c2
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/35080e42e113e6b12478f0e1357366814320a2
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/373b0e816a196a205f68a95cf524b44d44527e
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/91139cbf19f58d841da1b51800cca6d385078d
/usr/lib64/libesoobS.so.2
/usr/lib64/libesoobS.so.2.0.0
/usr/lib64/libmimerS.so.2
/usr/lib64/libmimerS.so.2.0.0
/usr/lib64/libnn.so.2
/usr/lib64/libnn.so.2.0.0
/usr/lib64/libodbc.so
/usr/lib64/libodbc.so.2
/usr/lib64/libodbc.so.2.0.0
/usr/lib64/libodbccr.so.2
/usr/lib64/libodbccr.so.2.0.0
/usr/lib64/libodbcdrvcfg1S.so.2
/usr/lib64/libodbcdrvcfg1S.so.2.0.0
/usr/lib64/libodbcdrvcfg2S.so.2
/usr/lib64/libodbcdrvcfg2S.so.2.0.0
/usr/lib64/libodbcinst.so
/usr/lib64/libodbcinst.so.2
/usr/lib64/libodbcinst.so.2.0.0
/usr/lib64/libodbcminiS.so.2
/usr/lib64/libodbcminiS.so.2.0.0
/usr/lib64/libodbcmyS.so
/usr/lib64/libodbcmyS.so.2
/usr/lib64/libodbcmyS.so.2.0.0
/usr/lib64/libodbcnnS.so.2
/usr/lib64/libodbcnnS.so.2.0.0
/usr/lib64/libodbcpsqlS.so
/usr/lib64/libodbcpsqlS.so.2
/usr/lib64/libodbcpsqlS.so.2.0.0
/usr/lib64/libodbctxtS.so.2
/usr/lib64/libodbctxtS.so.2.0.0
/usr/lib64/liboplodbcS.so.2
/usr/lib64/liboplodbcS.so.2.0.0
/usr/lib64/liboraodbcS.so.2
/usr/lib64/liboraodbcS.so.2.0.0
/usr/lib64/libsapdbS.so.2
/usr/lib64/libsapdbS.so.2.0.0
/usr/lib64/libtdsS.so
/usr/lib64/libtdsS.so.2
/usr/lib64/libtdsS.so.2.0.0
/usr/lib64/libtemplate.so.2
/usr/lib64/libtemplate.so.2.0.0
/usr/share/doc/unixODBC
/usr/share/doc/unixODBC/AUTHORS
/usr/share/doc/unixODBC/COPYING
/usr/share/doc/unixODBC/ChangeLog
/usr/share/doc/unixODBC/NEWS
/usr/share/doc/unixODBC/README
/usr/share/doc/unixODBC/README.dist
/usr/share/doc/unixODBC/doc
/usr/share/doc/unixODBC/doc/AdministratorManual
/usr/share/doc/unixODBC/doc/AdministratorManual/index.html
/usr/share/doc/unixODBC/doc/AdministratorManual/odbcinst.html
/usr/share/doc/unixODBC/doc/AdministratorManual/php3.html
/usr/share/doc/unixODBC/doc/AdministratorManual/unixODBC.gif
/usr/share/doc/unixODBC/doc/AdministratorManual/unixODBCsetup.html
/usr/share/doc/unixODBC/doc/ProgrammerManual
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/close.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/conne.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/dsn.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/gloss.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/index.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/intro.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/navi.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/odbc.css
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/query.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/Tutorial/resul.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/index.html
/usr/share/doc/unixODBC/doc/ProgrammerManual/unixODBC.gif
/usr/share/doc/unixODBC/doc/UserManual
/usr/share/doc/unixODBC/doc/UserManual/Figure1.gif
/usr/share/doc/unixODBC/doc/UserManual/Figure2.gif
/usr/share/doc/unixODBC/doc/UserManual/Figure3.gif
/usr/share/doc/unixODBC/doc/UserManual/Figure4.gif
/usr/share/doc/unixODBC/doc/UserManual/Figure6.gif
/usr/share/doc/unixODBC/doc/UserManual/My.sql
/usr/share/doc/unixODBC/doc/UserManual/StarOfficeDataGrid.gif
/usr/share/doc/unixODBC/doc/UserManual/index.html
/usr/share/doc/unixODBC/doc/UserManual/unixODBC.gif
/usr/share/doc/unixODBC/doc/index.html
/usr/share/doc/unixODBC/doc/lst
/usr/share/doc/unixODBC/doc/lst/InternalStructure.gif
/usr/share/doc/unixODBC/doc/lst/InternalStructure.html
/usr/share/doc/unixODBC/doc/lst/InternalStructure.vsd
/usr/share/doc/unixODBC/doc/lst/InternalStructure2.gif
/usr/share/doc/unixODBC/doc/lst/InternalStructure2.html
/usr/share/doc/unixODBC/doc/lst/InternalStructure3.gif
/usr/share/doc/unixODBC/doc/lst/InternalStructure3.html
/usr/share/doc/unixODBC/doc/lst/InternalStructure4.gif
/usr/share/doc/unixODBC/doc/lst/InternalStructure4.html
/usr/share/doc/unixODBC/doc/lst/InternalStructure5.gif
/usr/share/doc/unixODBC/doc/lst/InternalStructure5.html
/usr/share/doc/unixODBC/doc/lst/InternalStructure6.gif
/usr/share/doc/unixODBC/doc/lst/InternalStructure6.html
/usr/share/doc/unixODBC/doc/lst/InternalStructure7.gif
/usr/share/doc/unixODBC/doc/lst/InternalStructure7.html
/usr/share/doc/unixODBC/doc/lst/InternalStructure8.gif
/usr/share/doc/unixODBC/doc/lst/InternalStructure8.html
/usr/share/doc/unixODBC/doc/lst/InternalStructure9.gif
/usr/share/doc/unixODBC/doc/lst/InternalStructure9.html
/usr/share/doc/unixODBC/doc/lst/back.gif
/usr/share/doc/unixODBC/doc/lst/next.gif
/usr/share/doc/unixODBC/doc/smallbook.gif
/usr/share/doc/unixODBC/doc/unixODBC.gif
/usr/share/man/man1/dltest.1.gz
/usr/share/man/man1/isql.1.gz
/usr/share/man/man1/iusql.1.gz
/usr/share/man/man1/odbc_config.1.gz
/usr/share/man/man1/odbcinst.1.gz
/usr/share/man/man5/odbc.ini.5.gz
/usr/share/man/man5/odbcinst.ini.5.gz
/usr/share/man/man7/unixODBC.7.gz

References

Summary

In this tutorial we learn how to install unixODBC on Rocky Linux 8 using yum and dnf.