Skip to content

Instantly share code, notes, and snippets.

@xmppjingle
Last active February 13, 2018 00:07
Show Gist options
  • Save xmppjingle/d6338fae5524f284c57e1b7f0b0aefa1 to your computer and use it in GitHub Desktop.
Save xmppjingle/d6338fae5524f284c57e1b7f0b0aefa1 to your computer and use it in GitHub Desktop.
sudo apt-get -y install autoconf automake devscripts gawk g++ git-core
sudo apt-get -y install libjpeg-dev libncurses5-dev libtool make python-dev gawk pkg-config
sudo apt-get -y install libtiff5-dev libperl-dev libgdbm-dev libdb-dev gettext equivs
sudo apt-get -y install mlocate git dpkg-dev devscripts wget sox flac librabbitmq-dev
sudo apt-get -y install libpcre3-dev libedit-dev libsqlite3-dev
sudo apt-get -y install libogg-dev libspeex-dev libspeexdsp-dev
sudo apt-get -y install unixodbc-dev libpq-dev python-all-dev
sudo apt-get -y install doxygen uuid-dev libldns-dev libopus-dev
sudo apt-get -y install libsndfile1-dev libflac-dev libvorbis-dev liblua5.2-dev
sudo apt-get -y install dpatch ftp
sudo apt-get -y install sox flac libcurl4-openssl-dev libssl-dev
sudo apt install -y libtool-bin
sudo apt install -y libcurl4-openssl-dev
sudo apt-get install -y libmpg123-dev
sudo apt-get install -y libmp3lame-dev
sudo apt-get install -y libsqlite3-dev
sudo apt-get install -y libpcre3-dev
sudo apt-get install -y libedit-dev
sudo apt-get install -y libshout3-dev
sudo apt-get install -y libmp3lame-dev
sudo apt-get install -y libspeexdsp-dev
sudo apt-get install -y libldns-dev
sudo apt install -y libedit-dev
sudo apt-get install -y libopus-dev
sudo apt-get install -y libvpx-dev
sudo apt-get install -y yasm
MAKE="make -j`nproc`"
# Install libyuv-dev
cd /usr/src
wget http://files.freeswitch.org/downloads/libs/libyuv-0.0.1280.tar.gz
tar -xzvf libyuv-0.0.1280.tar.gz
cd libyuv-0.0.1280
${MAKE} && make install
# Install libvpx-dev
cd /usr/src
wget http://files.freeswitch.org/downloads/libs/libvpx-1.4.0.tar.gz
tar -xzvf libvpx-1.4.0.tar.gz
cd libvpx-1.4.0
./configure --enable-shared --prefix=/usr/local
${MAKE} && make install
# Install libbroadvoice-dev
cd /usr/src
wget http://files.freeswitch.org/downloads/libs/broadvoice-0.1.0.tar.gz
tar -xzvf broadvoice-0.1.0.tar.gz
cd broadvoice-0.1.0
./autogen.sh
./configure --enable-shared --prefix=/usr/local
${MAKE} && make install
# Install libpng
cd /usr/src
wget http://files.freeswitch.org/downloads/libs/libpng-1.6.10.tar.gz
tar -xzvf libpng-1.6.10.tar.gz
cd libpng-1.6.10
./configure --enable-shared --prefix=/usr/local
${MAKE} && make install
# Install libcodec2-dev
cd /usr/src
wget http://files.freeswitch.org/downloads/libs/libcodec2-2.59.tar.gz
tar -xzvf libcodec2-2.59.tar.gz
cd libcodec2-2.59
./bootstrap.sh
./configure --enable-shared --prefix=/usr/local
${MAKE} && make install
# Install libflite-dev
cd /usr/src
wget http://files.freeswitch.org/downloads/libs/flite-2.0.0.tar.gz
tar -xzvf flite-2.0.0.tar.gz
cd flite-2.0.0
./configure --enable-shared --prefix=/usr/local
${MAKE} && make install
# Install libilbc-dev
cd /usr/src
wget http://files.freeswitch.org/downloads/libs/ilbc-0.0.1.tar.gz
tar -xzvf ilbc-0.0.1.tar.gz
cd ilbc-0.0.1
./bootstrap.sh
./configure --enable-shared --prefix=/usr/local
${MAKE} && make install
# Install libmongoc-dev
cd /usr/src
wget http://files.freeswitch.org/downloads/libs/mongo-c-driver-1.1.0.tar.gz
tar -xzvf mongo-c-driver-1.1.0.tar.gz
cd mongo-c-driver-1.1.0
./configure --enable-shared --prefix=/usr/local
${MAKE} && make install
# Install libopus-dev
cd /usr/src
wget http://files.freeswitch.org/downloads/libs/opus-1.1.tar.gz
tar -xzvf opus-1.1.tar.gz
cd opus-1.1
./autogen.sh
./configure --enable-shared --prefix=/usr/local
${MAKE} && make install
# Install libg722-dev
cd /usr/src
wget http://files.freeswitch.org/downloads/libs/g722_1-0.2.0.tar.gz
tar -xzvf g722_1-0.2.0.tar.gz
cd g722_1-0.2.0
./autogen.sh
./configure --enable-shared --prefix=/usr/local
${MAKE} && make install
# Install libshout3-dev
cd /usr/src
wget http://downloads.xiph.org/releases/libshout/libshout-2.3.1.tar.gz
tar -xzvf libshout-2.3.1.tar.gz
cd libshout-2.3.1
./configure --enable-shared --prefix=/usr/local
${MAKE} && make install
# Install libmpg123-dev
cd /usr/src
svn checkout svn://scm.orgis.org/mpg123/tags/1.22.2 mpg123-1.22.2
cd mpg123-1.22.2
autoreconf -iv
./configure --enable-shared --prefix=/usr/local
${MAKE} && make install
# Install libsilk-dev
cd /usr/src
wget http://files.freeswitch.org/downloads/libs/libsilk-1.0.8.tar.gz
tar -xzvf libsilk-1.0.8.tar.gz
cd libsilk-1.0.8
./bootstrap.sh
./configure --enable-shared --prefix=/usr/local
${MAKE} && make install
# Install libsndfile-dev
cd /usr/src
wget http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz
tar -xzvf libsndfile-1.0.25.tar.gz
cd libsndfile-1.0.25
./configure --enable-shared --prefix=/usr/local
${MAKE} && make install
# Install libsoundtouch-dev
cd /usr/src
wget http://www.surina.net/soundtouch/soundtouch-1.9.0.tar.gz
tar -xzvf soundtouch-1.9.0.tar.gz
cd soundtouch
./bootstrap
./configure --enable-shared --prefix=/usr/local
${MAKE} && make install
# Install libsmpp34
# This package will fail with make -j
cd /usr/src
git clone git://git.osmocom.org/libsmpp34
cd libsmpp34
autoreconf -i
./configure && make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment