Skip to content

Instantly share code, notes, and snippets.

@tsirysndr
Last active April 29, 2019 14:37
Show Gist options
  • Save tsirysndr/aeb28c039ef6455a245153acee7fccfb to your computer and use it in GitHub Desktop.
Save tsirysndr/aeb28c039ef6455a245153acee7fccfb to your computer and use it in GitHub Desktop.
#!/bin/sh
apt-get update
apt-get install -y \
build-essential \
git-core \
subversion \
libjansson-dev \
sqlite \
autoconf \
automake \
libxml2-dev \
libncurses5-dev \
libtool
cd /usr/src
apt-get install -y wget && wget https://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-16.3.0.tar.gz
tar xvf asterisk-16.3.0.tar.gz \
&& cd asterisk-16.3.0 \
&& apt-get install -y \
aptitude \
aptitude-common \
libboost-iostreams-dev \
libcgi-fast-perl \
libcgi-pm-perl \
libclass-accessor-perl \
libcwidget3v5 \
libencode-locale-perl \
libfcgi-perl \
libhtml-parser-perl \
libhtml-tagset-perl \
libhttp-date-perl \
libhttp-message-perl \
libio-html-perl \
libio-string-perl \
liblocale-gettext-perl \
liblwp-mediatypes-perl \
libparse-debianchangelog-perl \
libsigc++-2.0-0v5 \
libsub-name-perl \
libtimedate-perl \
liburi-perl \
libxapian-dev \
libedit-dev uuid-dev libsqlite3-dev
cd asterisk-16.3.0
./configure --with-jansson-bundled
make
make samples
make config
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment