其他分享
首页 > 其他分享> > build.sh安装依赖包

build.sh安装依赖包

作者:互联网

echo "# adding additional repo tools"
installIfMissing software-properties-common
installIfMissing python-software-properties
echo "# - done"
echo

echo "# checking build dependencies"
installIfMissing autoconf
installIfMissing automake
installIfMissing libtool
installIfMissing debhelper
installIfMissing sqlite3
installIfMissing libsqlite3-dev
installIfMissing libusb-1.0-0
installIfMissing libusb-1.0-0-dev
installIfMissing libortp-dev
installIfMissing libortp9
installIfMissing libosip2-dev
installIfMissing libreadline-dev
installIfMissing libncurses5
installIfMissing libncurses5-dev
installIfMissing pkg-config
# libsqliteodbc deps
installIfMissing cdbs
installIfMissing libsqlite0-dev
# asterisk deps
installIfMissing unixodbc
installIfMissing unixodbc-dev
installIfMissing libssl-dev
installIfMissing libsrtp0
installIfMissing libsrtp0-dev
installIfMissing libsqliteodbc
installIfMissing uuid-dev
installIfMissing libjansson-dev
installIfMissing libxml2-dev
# zmq
installIfMissing libzmq3-dev
## installIfMissing libzmq5
installIfMissing python-zmq


sudo apt-get install -y software-properties-common python-software-properties autoconf automake libtool debhelper sqlite3 libsqlite3-dev libusb-1.0-0 libusb-1.0-0-dev libortp-dev libortp9 libosip2-dev libreadline-dev libncurses5 libncurses5-dev pkg-config cdbs libsqlite0-dev unixodbc unixodbc-dev libssl-dev libsrtp0 libsrtp0-dev libsqliteodbc uuid-dev libjansson-dev libxml2-dev libzmq3-dev python-zmq

标签:依赖,1.0,installIfMissing,dev,echo,python,sh,build,libusb
来源: https://www.cnblogs.com/jsdy/p/13934440.html