How To Install asterisk-mysql on Fedora 36

In this tutorial we learn how to install asterisk-mysql in Fedora 36. asterisk-mysql is Applications for Asterisk that use MySQL

Introduction

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

What is asterisk-mysql

Applications for Asterisk that use MySQL.

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

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

sudo dnf -y install asterisk-mysql

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

sudo yum -y install asterisk-mysql

How To Uninstall asterisk-mysql on Fedora 36

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

sudo dnf remove asterisk-mysql

asterisk-mysql Package Contents on Fedora 36

/etc/asterisk/app_mysql.conf
/etc/asterisk/cdr_mysql.conf
/etc/asterisk/res_config_mysql.conf
/usr/lib/.build-id
/usr/lib/.build-id/74/609d9c1cc70762715ac3aa017837c3d34c4840
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/4d91cbfa5d2ec08de80e916f3e1998dbe0b01c
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/bf8bd40e5d5671eb33ff208b8109c1f267c731
/usr/lib64/asterisk/modules/app_mysql.so
/usr/lib64/asterisk/modules/cdr_mysql.so
/usr/lib64/asterisk/modules/res_config_mysql.so
/usr/share/doc/asterisk-mysql
/usr/share/doc/asterisk-mysql/mysql_cdr.sql
/usr/share/doc/asterisk-mysql/mysql_config.sql
/usr/share/doc/asterisk-mysql/mysql_voicemail.sql

References

Summary

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