Skip to content

Instantly share code, notes, and snippets.

@hamidrhashmi
Last active December 19, 2024 14:25
Show Gist options
  • Save hamidrhashmi/a137dd0d3c59cf62850dd0c2798ffe0e to your computer and use it in GitHub Desktop.
Save hamidrhashmi/a137dd0d3c59cf62850dd0c2798ffe0e to your computer and use it in GitHub Desktop.
How to install Freeswitch on Rocky Linux 8 from Source

Enable CRB

dnf config-manager --set-enabled crb

Enable Epel Repo for Rocky 8

dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf install https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-8.noarch.rpm

For Rokcy 9

dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
dnf install https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm

Install the following packages

dnf groupinstall "Development tools"
dnf install libtiff-devel libjpeg-devel openssl-devel cmake pkg-config cmake uuid-devel libuuid-devel.x86_64 libatomic.x86_64 lua mariadb-devel.x86_64 libpq-devel.x86_64 audiofile-devel.x86_64 fltk.x86_64 libsqlite3x-devel.x86_64 libcurl-devel.x86_64 pcre-devel.x86_64 speex.x86_64 ldns.x86_64 systemd-devel.x86_64
dnf --enablerepo=devel install speex-devel speexdsp-devel ldns-devel libedit-devel yasm lua-devel

You have to disable following modules as well edit modules.conf

  1. mod_shout
  2. mod_sendfile
  3. mode_av

for futher installation setps you can follow this link

Troubleshooting

dnf clean all
dnf makecache

to findout the header files us eth following command

rpm -ql iptables-devel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment