How To Install asterisk-postgresql on Fedora 36

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

Introduction

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

What is asterisk-postgresql

Applications for Asterisk that use PostgreSQL.

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

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

sudo dnf -y install asterisk-postgresql

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

sudo yum -y install asterisk-postgresql

How To Uninstall asterisk-postgresql on Fedora 36

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

sudo dnf remove asterisk-postgresql

asterisk-postgresql Package Contents on Fedora 36

/etc/asterisk/cdr_pgsql.conf
/etc/asterisk/cel_pgsql.conf
/etc/asterisk/res_pgsql.conf
/usr/lib/.build-id
/usr/lib/.build-id/91
/usr/lib/.build-id/91/e7d069235676a38e19671cbff82b40f67d1af9
/usr/lib/.build-id/ee/86bb1199810fe24cf9c80e18f3c2918f1bca4b
/usr/lib/.build-id/f5/eec46329154c66d12bd5584aba73c1d9eabb02
/usr/lib64/asterisk/modules/cdr_pgsql.so
/usr/lib64/asterisk/modules/cel_pgsql.so
/usr/lib64/asterisk/modules/res_config_pgsql.so
/usr/share/doc/asterisk-postgresql
/usr/share/doc/asterisk-postgresql/postgresql_cdr.sql
/usr/share/doc/asterisk-postgresql/postgresql_config.sql
/usr/share/doc/asterisk-postgresql/postgresql_voicemail.sql

References

Summary

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