Skip to content

Instantly share code, notes, and snippets.

@nicolascb
Created January 19, 2018 11:13
Show Gist options
  • Save nicolascb/9f667d451907c4d2b710150a7fd5e234 to your computer and use it in GitHub Desktop.
Save nicolascb/9f667d451907c4d2b710150a7fd5e234 to your computer and use it in GitHub Desktop.
How to install Asterisk on Ubuntu/Debian - Shellscript
#!/bin/bash
cd /opt/ && wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz
tar -xvzf asterisk-13-current.tar.gz
cd asterisk-13*
apt install build-essential -y
apt install libxml2-dev -y
apt install libncurses5-dev libreadline-dev libreadline6-dev -y
apt install libssl-dev -y
apt install uuid-dev -y
apt install libjansson-dev -y
apt install libsqlite3-dev -y
apt install pkg-config -y
./configure && make && make install && make config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment