How To Install asterisk-odbc on Fedora 36

In this tutorial we learn how to install asterisk-odbc in Fedora 36. asterisk-odbc is Applications for Asterisk that use ODBC (except voicemail)

Introduction

In this tutorial we learn how to install asterisk-odbc on Fedora 36.

What is asterisk-odbc

Applications for Asterisk that use ODBC (except voicemail)

We can use yum or dnf to install asterisk-odbc on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install asterisk-odbc.

Install asterisk-odbc on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install asterisk-odbc

Install asterisk-odbc on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install asterisk-odbc using yum by running the following command:

sudo yum -y install asterisk-odbc

How To Uninstall asterisk-odbc on Fedora 36

To uninstall only the asterisk-odbc package we can use the following command:

sudo dnf remove asterisk-odbc

asterisk-odbc Package Contents on Fedora 36

/etc/asterisk/cdr_adaptive_odbc.conf
/etc/asterisk/cdr_odbc.conf
/etc/asterisk/cel_odbc.conf
/etc/asterisk/func_odbc.conf
/etc/asterisk/res_odbc.conf
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/c58a9795187a7f6d6915bea3aef2b53551d66a
/usr/lib/.build-id/46
/usr/lib/.build-id/46/5bcfacd2a636e5a8fd38d91997946ef0cab836
/usr/lib/.build-id/59/5e6d866f8bba7ca0ea6f5601febceeb1ceb886
/usr/lib/.build-id/76/e5c0d8b732f18b44f2716817d1d05984f2edfe
/usr/lib/.build-id/79
/usr/lib/.build-id/79/85152669f04d2f01f5cfba97480c5ddce5550e
/usr/lib/.build-id/89
/usr/lib/.build-id/89/2d8ac20ad4970983a25cf270fbecbbae1dee61
/usr/lib/.build-id/fa/6aa8b1bf3326d08c51974526aa4d29acc114b2
/usr/lib64/asterisk/modules/cdr_adaptive_odbc.so
/usr/lib64/asterisk/modules/cdr_odbc.so
/usr/lib64/asterisk/modules/cel_odbc.so
/usr/lib64/asterisk/modules/func_odbc.so
/usr/lib64/asterisk/modules/res_config_odbc.so
/usr/lib64/asterisk/modules/res_odbc.so
/usr/lib64/asterisk/modules/res_odbc_transaction.so

References

Summary

In this tutorial we learn how to install asterisk-odbc on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).